ke(x) * float(b)

    diff = eps * 2
    while diff &gt; eps:
        u = (a + b) / 2.
        fu = f(u, *args, **kwargs)

        lt = fu &lt; x
        a = torch.where(lt, u, a)
        b = torch.where(lt, b, u)

        diff = (fu - x).abs().mean()

    return u</code></pre>
</details>
</dd>
<dt id="flow.utils.softplus"><code class="name flex">
<span>def <span class="ident">softplus</span></span>(<span>x, eps=1e-06, **kwargs)</span>
</code></dt>
<dd>
<div class="desc"></div>
<details class="source">
<sum