="../../../losses/losses.loss_base.html#packnet_sfm.losses.loss_base.LossBase">[docs]</a><span class="k">class</span> <span class="nc">LossBase</span><span class="p">(</span><span class="n">nn</span><span class="o">.</span><span class="n">Module</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;Base class for losses.&quot;&quot;&quot;</span>
    <span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
      