ow">not</span> <span class="n">v</span><span class="o">.</span><span class="n">is_cuda</span><span class="p">:</span>
                <span class="k">if</span> <span class="n">torch</span><span class="o">.</span><span class="n">is_tensor</span><span class="p">(</span><span class="n">v</span><span class="p">):</span>
                    <span class="n">rsetattr</span><span class="p">(</span>
                        <span class="n">model</span><span class="p">,</span>
                        <span class="n">k