e">guide</a>.</p></div></div><p>Bind a <a href="https://pytorch.org/docs/stable/data.html#torch.utils.data.DataLoader"><code>DataLoader</code></a> to a <a href="https://pytorch.org/docs/stable/tensor_attributes.html#torch-device"><code>torch.device</code></a>.</p>

</div>

</div>

</div>
</div>

</div>
<div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<p>Put the batches of <code>dl</code> on <code>device</code> afte