">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">x</span><span class="p">)</span> <span class="o">!=</span> <span class="mi">0</span><span class="p">))</span>

    <span class="n">batch_size</span> <span class="o">=</span> <span class="nb">len</span><span class="p">(</span><span class="n">batch</span><span class="p">)</span>
    <span class="n">batch_max_points</span> <span class="o">=</span> <span class="nb">max</span><span class="p">([</span><span class="n">t</span><span clas