append</span><span class="p">(</span><span class="n">prepared_dgm</span><span class="p">)</span>

    <span class="n">prepared_batch</span> <span class="o">=</span> <span class="n">torch</span><span class="o">.</span><span class="n">stack</span><span class="p">(</span><span class="n">prepared_batch</span><span class="p">)</span>

    <span class="k">return</span> <span class="n">prepared_batch</span><span class="p">,</span> <span class="n">not_dummy_points</span><span class="p">,</span> <span class="n">batc