dgl.function.v_mul_u

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

Builtin message function that computes message by performing binary operation mul between dst feature and src feature.

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

Examples

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