span class="bp">self</span><span class="o">.</span><span class="n">early</span><span class="p">(</span><span class="n">val_loss</span><span class="p">)</span>
                <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">early</span><span class="o">.</span><span class="n">stop</span><span class="p">:</span>
                    <span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Early Stopping&quot;</span><span class="p">)</span>
       