dgl.mean_nodes

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

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

See also

readout_nodes