ction-link'>
                <a href='#section-29'>#</a>
            </div>
            <h1>开关变压器块</h1>
<p>这与<a href="../models.html#TransformerLayer">普通变压器模块</a>相同，用于处理开关前馈模块的额外输出。</p>

        </div>
        <div class='code'>
            <div class="highlight"><pre><span class="lineno">168</span><span class="k">class</span> <span class="nc">SwitchTransformerLayer</span><span class="p">(</span><span class="n">Module</span><span class="p">