a>
<span class="k">def</span> <span class="nf">get_modules</span><span class="p">(</span><span class="n">configs</span><span class="p">:</span> <span class="n">BaseConfigs</span><span class="p">):</span>
<span class="w">    </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Get all the PyTorch modules in ``configs`` object.</span>

<span class="sd">    Arguments:</span>
<span class="sd">        configs (labml.configs.BaseConfigs): configurations object</span>
<span class="sd">    &quot;&