sert</span> <span class="bp">self</span><span class="o">.</span><span class="n">depth_net</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">,</span> <span class="s1">&#39;Depth network not defined&#39;</span>
        <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">depth_net</span><span class="p">(</span><span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span>