or</span><span class="p">,</span> <span class="n">min_val</span><span class="p">:</span> <span class="nb">float</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Tensor</span><span class="p">:</span>
<span class="w">    </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Function that implements :func:`torch.clamp_min` with a straight-through gradient estimator</span>
<span class="sd">    for the gradient of output y w.r.t. to ``x``, while the gradient of y w.r.t