le is in training or
                evaluation mode.
:vartype training: bool</p>
</div>


                            <div id="Encoder.__init__" class="classattr">
                                        <input id="Encoder.__init__-view-source" class="view-source-toggle-state" type="checkbox" aria-hidden="true" tabindex="-1">
<div class="attr function">
            
        <span class="name">Encoder</span><span class="signature pdoc-code condensed">(<span class="param"><span class="n">input_size</span><sp