:<code>__len__</code> method
that returns the length of the returned iterators.</p>
<p>.. note:: The :meth:<code>__len__</code> method isn't strictly required by
          :class:<code>~torch.utils.data.DataLoader</code>, but is expected in any
          calculation involving the length of a :class:<code>~torch.utils.data.DataLoader</code>.</p>

</div>

</div>

</div>
</div>

</div>
    {% endraw %}

    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

<div class="output_wrapper">
<di