n><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dim</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">0</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#padl.Batchify" title="Permalink to this definition"></a></dt>
<dd><p>Mark end of preprocessing.</p>
<p>Batchify adds batch dimension at <em>dim</em>. During inference, this unsqueezes tensors and,
recursively, tuples thereof. 