n>

<span class="sd">Implementation of **differentiable vectorization layers** for persistent</span>
<span class="sd">homology barcodes.</span>

<span class="sd">For a basic tutorial click `here &lt;tutorials/SLayer.html&gt;`_.</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="kn">import</span> <span class="nn">torch</span>
<span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
<span class="kn">from</span> <span class="nn">torch.tensor<