dgl.function.src_mul_edge

dgl.function.src_mul_edge(src, edge, out)[source]

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

Notes

This function is deprecated. Please use u_mul_e instead.

Parameters
  • src (str) – The source feature field.

  • edge (str) – The edge feature field.

  • out (str) – The output message field.

Examples

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