         <span class="s2">&quot;Enabling shifting of the scale requires enabling affine rescaling first.&quot;</span><span class="p">)</span>
        <span class="k">if</span> <span class="n">_affine_rescaling</span><span class="p">:</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">affine_rescaling</span> <span class="o">=</span> <span class="n">_AffineRescaling</span><span class="p">(</span>
                <span class="n">scaling_shape</span><span class="p">,</span>
 