ass="o">=</span><span class="s1">&#39;gt&#39;</span> <span class="ow">in</span> <span class="n">mode</span><span class="p">)</span>
        <span class="c1"># Return metrics and extra information</span>
        <span class="k">return</span> <span class="p">{</span>
            <span class="s1">&#39;metrics&#39;</span><span class="p">:</span> <span class="n">metrics</span><span class="p">,</span>
            <span class="s1">&#39;inv_depth&#39;</span><span class="p">:</span> <span class="n">inv_depth_pp</spa