s</span><span class="p">(</span>
            <span class="n">batch_max_points</span><span class="p">,</span>
            <span class="n">point_dim</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="k">if</span> <span class="n">n_points</span> <span class="o">&gt;</span> <span class="mi">0</span><span class="p">:</span>
            <span class="n">index_selection</span> <span class="