ults</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="n">my_model</span><span class="o">.</span><span class="n">name</span><span class="p">)</span>

    <span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">built_model</span><span class="p">,</span> <span class="n">KerasModel</span><span class="p">):</span>
        <span class="n">results</span><span class="p">[</span><span class="s1">'overall_accuracy] = calculate_ac