span><span class="p">(</span><span class="n">Function</span><span class="p">):</span>
<span class="w">    </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Autograd function that implements :func:`~brevitas.function.ops.tensor_clamp` with a</span>
<span class="sd">    straight-through gradient estimator for the gradient of y w.r.t. to x, while the gradient of y</span>
<span class="sd">    w.r.t. to min_val and max_val is always None.</span>

<span class="sd">    ``TensorClampSteFn.apply