/span> <span class="nb">len</span><span class="p">(</span><span class="n">s_mods</span><span class="p">))</span>
</pre></div>

    </div>
</div>
</div>

</div>
    {% endraw %}

<div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h2 id="Sparse-Distributions">Sparse Distributions<a class="anchor-link" href="#Sparse-Distributions"> </a></h2><blockquote><p>For determining the layer-wise sparsity of a list of modules.</p