n><span class="n">data</span> <span class="o">==</span> <span class="s1">&#39;MNIST&#39;</span><span class="p">):</span>
        <span class="n">train_loader</span> <span class="o">=</span> <span class="n">torch</span><span class="o">.</span><span class="n">utils</span><span class="o">.</span><span class="n">data</span><span class="o">.</span><span class="n">DataLoader</span><span class="p">(</span>
                 <span class="n">datasets</span><span class="o">.</span><span class="n">MNIST</span><span cla