n> <span class="n">t_index</span><span class="p">,</span> <span class="n">r_index</span><span class="p">)</span>
        <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">max_score</span> <span class="o">-</span> <span class="n">score</span></div></div>


<div class="viewcode-block" id="SimplE"><a class="viewcode-back" href="../../../api/models.html#torchdrug.models.SimplE">[docs]</a><span class="nd">@R</span><span class="o">.</span><span class="n">register</s