# dgl.function.v_dot_e¶

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

Builtin message function that computes a message on an edge by performing element-wise dot between features of v and e if the features have the same shape; otherwise, it first broadcasts the features to a new shape and performs the element-wise operation.

>>> import dgl