dgl.prop_edges

dgl.prop_edges(graph, edges_generator, message_func='default', reduce_func='default', apply_node_func='default')[source]

dgl.DGLGraph.prop_edges() 的函数式方法。

参数:
  • edges_generator (generator) – 边前沿的生成器。

  • message_func (callable, optional) – 消息函数。

  • reduce_func (callable, optional) – 聚合函数。

  • apply_node_func (callable, optional) – 更新函数。