</code><a href="https://github.com/fastai/fastai/blob/master/fastai/basic_data.py#L27" class="source_link" style="float:right">[source]</a><a class="source_link" data-toggle="collapse" data-target="#DeviceDataLoader-pytest" style="float:right; padding-right:10px">[test]</a></h2><blockquote><p><code>DeviceDataLoader</code>(<strong><code>dl</code></strong>:<a href="https://pytorch.org/docs/stable/data.html#torch.utils.data.DataLoader"><code>DataLoader</code></a>, <strong><code>device</code></strong>:<a href="