Transfer">[docs]</a><span class="nd">@dataclass</span>
<span class="k">class</span> <span class="nc">ModuleTransfer</span><span class="p">:</span>
    <span class="sd">"""This class transfers the weight from one module to another assuming</span>
<span class="sd">    they have the same set of operations but they were defined in a different way.</span>

<span class="sd">    :Examples</span>

<span class="sd">        &gt;&gt;&gt; import torch</span>
<span class="sd">        &gt;&gt;&gt; import torch.nn as nn</