dgl.function.e_add_u

dgl.function.e_add_u(lhs_field, rhs_field, out)

Builtin message function that computes message by performing binary operation add between edge feature and src feature.

Parameters:
  • e (str) – The edge feature field.
  • u (str) – The src feature field.
  • out (str) – The output message field.

Examples

>>> import dgl
>>> message_func = dgl.function.e_add_u('h', 'h', 'm')