/span><span class="o">.</span><span class="n">relation</span><span class="p">,</span> <span class="o">-</span><span class="mf">0.5</span><span class="p">,</span> <span class="mf">0.5</span><span class="p">)</span>

<div class="viewcode-block" id="DistMult.forward"><a class="viewcode-back" href="../../../api/models.html#torchdrug.models.DistMult.forward">[docs]</a>    <span class="k">def</span> <span class="nf">forward</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span c