<span class="n">dims</span><span class="p">)</span>
</span><span id="Encoder.forward-51"><a href="#Encoder.forward-51"><span class="linenos">51</span></a>        <span class="k">return</span> <span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">attention</span><span class="p">(</span><span class="n">sub</span><span class="p">)</span> <span class="k">for</span> <span class="n">sub</span> <span class="ow">in</span> <span class="n">output</span><span class="p">]</span>
</