ass="n">y</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">tensor_clamp_impl</span><span class="p">(</span><span class="n">y</span><span class="p">,</span> <span class="n">min_val</span><span class="o">=</span><span class="n">min_int_val</span><span class="p">,</span> <span class="n">max_val</span><span class="o">=</span><span class="n">max_int_val</span><span class="p">)</span>
        <span class="n">output_scale</span> <span class="o">=</span> <span clas