an> <span class="n">num_epochs</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span> <span class="n">callback</span><span class="o">=</span><span class="bp">None</span><span class="p">)</span>
</pre></div>
</div>
<p><strong>Examples can be found in the <code class="docutils literal notranslate"><span class="pre">examples</span></code> directory :</strong></p>
<ul class="simple">
<li><p><a class="reference external" href="examples/random_token_example">examples/random_token_example<