="p">(</span><span class="n">x_i</span><span class="p">)</span><span class="o">.</span><span class="n">cuda</span><span class="p">()</span>
                <span class="k">else</span><span class="p">:</span>
                    <span class="n">x_i</span><span class="p">,</span> <span class="n">_</span> <span class="o">=</span> <span class="n">torch</span><span class="o">.</span><span class="n">lstsq</span><span class="p">(</span><span class="n">torch</span><span class="o">.</span><span class="n">matmul</spa