dgl.sum_nodes

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

Syntax sugar for dgl.readout_nodes(graph, feat, weight, ntype=ntype, op='sum').

See also

readout_nodes()