Unverified Commit 233e8198 authored by Tianjun Xiao's avatar Tianjun Xiao Committed by GitHub
Browse files

[Doc]fix link in message passing doc (#2200)

* fix link in message passing doc

* more specific link
parent c53bf774
...@@ -53,9 +53,8 @@ for unary for now. For binary funcs, we now support ``add``, ``sub``, ...@@ -53,9 +53,8 @@ for unary for now. For binary funcs, we now support ``add``, ``sub``,
built-in funcs is ``u`` represents ``src`` nodes, ``v`` represents built-in funcs is ``u`` represents ``src`` nodes, ``v`` represents
``dst`` nodes, ``e`` represents ``edges``. The parameters for those ``dst`` nodes, ``e`` represents ``edges``. The parameters for those
functions are strings indicating the input and output field names for functions are strings indicating the input and output field names for
the corresponding nodes and edges. Here is the the corresponding nodes and edges. The list of supported built-in functions
:ref:`dgl.function` of supported can be found in :ref:`api-built-in`. For example, to add the ``hu`` feature from src
built-in functions. For example, to add the ``hu`` feature from src
nodes and ``hv`` feature from dst nodes then save the result on the edge nodes and ``hv`` feature from dst nodes then save the result on the edge
at ``he`` field, we can use built-in function at ``he`` field, we can use built-in function
``dgl.function.u_add_v('hu', 'hv', 'he')`` this is equivalent to the ``dgl.function.u_add_v('hu', 'hv', 'he')`` this is equivalent to the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment