o">=</span> <span class="n">torch</span><span class="o">.</span><span class="n">tensor</span><span class="p">(</span><span class="nb">range</span><span class="p">(</span><span class="n">n_points</span><span class="p">),</span>
                                           <span class="n">device</span><span class="o">=</span><span class="n">input_device</span><span class="p">)</span>

            <span class="n">prepared_dgm</span><span class="o">.</span><span class="n">index_add_</span><span class="p">(</span>