="o">.</span><span class="n">ones</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span><span class="o">.</span><span class="n">type_as</span><span class="p">(</span><span class="n">stats</span><span class="p">)</span>
        <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">stats_scaling_impl</span><span class="p">(</span><span class="n">stats</span><span class="p">,</span> <span class="n">threshold</span><span class="p">)</span></di