

<div class="viewcode-block" id="TransE.forward"><a class="viewcode-back" href="../../../api/models.html#torchdrug.models.TransE.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 class="n">graph</span><span class="p">,</span> <span class="n">h_index</span><span class="p">,</span> <span class="n">t_index</span><span class="p">,</span> <span class="n">r_index</span><span class="p">,</span> <span 