  <span class="c1"># Ensure retro-compatibility with shared threshold/scaling restrict</span>
        <span class="k">if</span> <span class="n">restrict_threshold_impl</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
            <span class="n">restrict_threshold_impl</span> <span class="o">=</span> <span class="n">restrict_scaling_impl</span>

        <span class="bp">self</span><span class="o">.</span><span class="n">parameter_list_stats</span> <span class="o">=</span