dgl.sum_nodes

dgl.sum_nodes(graph, feat, weight=None, *, ntype=None)[source]

dgl.readout_nodes(graph, feat, weight, ntype=ntype, op='sum') 的语法糖。

另请参阅

readout_nodes