pan> <span class="o">%</span> <span class="n">readout</span><span class="p">)</span>

<div class="viewcode-block" id="ProteinResNet.forward"><a class="viewcode-back" href="../../../api/models.html#torchdrug.models.ProteinResNet.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="nb">input</span><span class="p">,</span> <span class="n">all