n class="n">values</span><span class="p">()])</span> <span class="o">//</span> <span class="n">n_classes</span>

    <span class="c1"># Add the 'unknown' class if necessary</span>
    <span class="k">if</span> <span class="n">add_unknown_class</span><span class="p">:</span>
        <span class="n">results</span> <span class="o">=</span> <span class="p">[]</span>
        <span class="k">for</span> <span class="n">clazz</span> <span class="ow">in</span> <span class="n">unknown_classes</span><span class="p">:<