ass="p">:</span>
                <span class="n">child</span> <span class="o">=</span> <span class="n">child</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span>

            <span class="n">replace_modules</span> <span class="o">=</span> <span class="n">policy_cls</span><span class="o">.</span><span class="n">replace_modules</span><span class="p">()</span>

            <span class="k">if</span> <span class="n">child</span><span class="o">.</span><span class="vm">__class__</span><