s="n">List</span><span class="p">[</span><span class="n">torch</span><span class="o">.</span><span class="n">Tensor</span><span class="p">])</span> <span class="o">-&gt;</span> <span class="n">List</span><span class="p">[</span><span class="n">torch</span><span class="o">.</span><span class="n">Tensor</span><span class="p">]:</span>
</span><span id="L-40"><a href="#L-40"><span class="linenos">40</span></a>        <span class="sd">&quot;&quot;&quot;Performs encoding.</span>
</span><span id="L-41"><a href="#L