mary>
<span>Expand source code</span>
</summary>
<pre><code class="python">softplus = lambda x, eps=1e-6, **kwargs: F.softplus(x, **kwargs) + eps</code></pre>
</details>
</dd>
<dt id="flow.utils.softplus_inv"><code class="name flex">
<span>def <span class="ident">softplus_inv</span></span>(<span>x, eps=1e-06, threshold=20.0)</span>
</code></dt>
<dd>
<div class="desc"><p>Compute the softplus inverse.</p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="pyt