model_b = nn.Sequential(block(1,64), block(64,10))</span>
<span class="sd">        &gt;&gt;&gt; # model_a and model_b are the same thing but defined in two different ways</span>
<span class="sd">        &gt;&gt;&gt; x = torch.ones(1, 1)</span>
<span class="sd">        &gt;&gt;&gt; trans = ModuleTransfer(src=model_a, dest=model_b)</span>
<span class="sd">        &gt;&gt;&gt; trans(x)</span>

<span class="sd">        # now module_b has the same weight of model_a</span>

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

    <s