an class="p">({</span>
                <span class="o">**</span><span class="bp">self</span><span class="o">.</span><span class="n">logs</span><span class="p">,</span> <span class="o">**</span><span class="n">loss_and_metrics</span><span class="p">,</span>
            <span class="p">})</span>

        <span class="k">return</span> <span class="p">{</span>
            <span class="o">**</span><span class="n">loss_and_metrics</span>
        <span class="p">}</span></div>

<div class="viewcode-block" id="Mode