lass="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="Encoder-41"><a href="#Encoder-41"><span class="linenos">41</span></a>        <span class="sd">&quot;&quot;&quot;Performs encoding.</span>
</span><span id="Encoder-42"><a href="#Encoder-42"><span class="linenos">42</span></a><span class=