lass="o">=</span> <span class="n">torch</span><span class="o">.</span><span class="n">cat</span><span class="p">(</span><span class="n">hiddens</span><span class="p">,</span> <span class="n">dim</span><span class="o">=-</span><span class="mi">1</span><span class="p">)</span>
        <span class="k">else</span><span class="p">:</span>
            <span class="n">node_feature</span> <span class="o">=</span> <span class="n">hiddens</span><span class="p">[</span><span class="o">-</span><span class="mi">1</span>