pre">torch.nn.Module</span></code></p>
<p>Implements of Non-Local Gate-based Fusion.</p>
<p>See section F4 of <a class="reference external" href="https://arxiv.org/pdf/1905.12681.pdf">https://arxiv.org/pdf/1905.12681.pdf</a> for details</p>
<dl class="py method">
<dt class="sig sig-object py" id="fusions.common_fusions.NLgate.__init__">
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">thw_dim</span