dgl.prop_nodes¶
-
dgl.
prop_nodes
(graph, nodes_generator, message_func='default', reduce_func='default', apply_node_func='default')[source]¶ Functional method for
dgl.DGLGraph.prop_nodes()
.- Parameters
node_generators (generator) – The generator of node frontiers.
message_func (callable, optional) – The message function.
reduce_func (callable, optional) – The reduce function.
apply_node_func (callable, optional) – The update function.
See also