span><span class="n">zeros</span><span class="p">(</span><span class="mi">1</span><span class="p">))</span><span class="o">.</span><span class="n">item</span><span class="p">()</span> <span class="o">*</span> <span class="mi">2</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">relation_scale</span> <span class="o">=</span> <span class="n">pi</span> <span class="o">*</span> <span class="n">embedding_dim</span> <span class="o">/</span> <span class="n">max_score</span> <span cl