span class="mi">2</span><span class="p">,</span><span class="mi">3</span><span class="p">])}</span>
<span class="n">d_cuda</span> <span class="o">=</span> <span class="n">to_device</span><span class="p">(</span><span class="n">d</span><span class="p">)</span>
<span class="k">assert</span> <span class="n">d_cuda</span><span class="p">[</span><span class="s1">&#39;a&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">device</span> <span class="o">==</span> <span class="n">device</span>
