<div class="viewcode-block" id="SLayerRational.forward"><a class="viewcode-back" href="../../../nn.html#torchph.nn.slayer.SLayerRational.forward">[docs]</a>    <span class="k">def</span> <span class="nf">forward</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="nb">input</span><span class="p">)</span><span class="o">-&gt;</span><span class="n">Tensor</span><span class="p">:</span>
        <span class="n">batch</span><span class="p">,</span> <span class="n">not_d