of BasicBlock</p></section>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def cd_propagate_resnet(rel, irrel, model):
    &#39;&#39;&#39;Propagate a resnet architecture
    each BasicBlock passes its input through to its output (might need to downsample)
    note: the bigger resnets use BottleNeck instead of BasicBlock
    &#39;&#39;&#39;
    mods = list(model.modules())
    from .cd import cd_generic
    &#39;&#39;&#39;
    # mods[1:5]
    x = self.