</span><span class="p">);</span>

    <span class="c1">// Returns the pair at index in the dataset</span>
    <span class="n">torch</span><span class="o">::</span><span class="n">data</span><span class="o">::</span><span class="n">Example</span><span class="o">&lt;&gt;</span> <span class="n">get</span><span class="p">(</span><span class="kt">size_t</span> <span class="n">index</span><span class="p">)</span> <span class="k">override</span><span class="p">;</span>

    <span class="c1">// The size of the data