ot;&quot;</span>
<span class="sd">    Autograd function that implements ``torch.clamp`` with a straight-through gradient estimator</span>
<span class="sd">    for the gradient of y w.r.t. to x, while the gradient of y w.r.t. to ``min_val`` and ``min_val``</span>
<span class="sd">    are always ``None``.</span>

<span class="sd">    ``ScalarClampSteFn.apply(*args)`` is first aliased to :func:`scalar_clamp_ste_impl(*args)</span>
<span class="sd">    &lt;brevitas.ops.autograd_ste_ops.scalar_clamp_ste_impl&gt;`