Unverified Commit a8c28825 authored by Zihao Ye's avatar Zihao Ye Committed by GitHub
Browse files

upd (#857)

parent 0a56d652
...@@ -75,45 +75,41 @@ required (e.g. ``pull``, ``push``, ``send_and_recv``, etc.). ...@@ -75,45 +75,41 @@ required (e.g. ``pull``, ``push``, ``send_and_recv``, etc.).
Here is a cheatsheet of all the DGL builtins. Here is a cheatsheet of all the DGL builtins.
+-------------------------+----------------------------------------------------+-----------------------+ +-------------------------+-----------------------------------------------------------------+-----------------------+
| Category | Functions | Memo | | Category | Functions | Memo |
+=========================+====================================================+=======================+ +=========================+=================================================================+=======================+
| Unary message function | ``copy_u`` | | | Unary message function | ``copy_u`` | |
| +----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| | ``copy_e`` | | | | ``copy_e`` | |
| +----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| | ``copy_src`` | alias of ``copy_u`` | | | ``copy_src`` | alias of ``copy_u`` |
| +----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| | ``copy_edge`` | alias of ``copy_e`` | | | ``copy_edge`` | alias of ``copy_e`` |
+-------------------------+----------------------------------------------------+-----------------------+ +-------------------------+-----------------------------------------------------------------+-----------------------+
| Binary message function | ``u_add_v``, ``u_sub_v``, ``u_mul_v``, ``u_div_v`` | | | Binary message function | ``u_add_v``, ``u_sub_v``, ``u_mul_v``, ``u_div_v``, ``u_dot_v`` | |
| +----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| | ``u_add_e``, ``u_sub_e``, ``u_mul_e``, ``u_div_e`` | | | | ``u_add_e``, ``u_sub_e``, ``u_mul_e``, ``u_div_e``, ``u_dot_e`` | |
| +----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| | ``v_add_u``, ``v_sub_u``, ``v_mul_u``, ``v_div_u`` | | | | ``v_add_u``, ``v_sub_u``, ``v_mul_u``, ``v_div_u``, ``v_dot_u`` | |
| +----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| | ``v_add_e``, ``v_sub_e``, ``v_mul_e``, ``v_div_e`` | | | | ``v_add_e``, ``v_sub_e``, ``v_mul_e``, ``v_div_e``, ``v_dot_e`` | |
| +----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| | ``e_add_u``, ``e_sub_u``, ``e_mul_u``, ``e_div_u`` | | | | ``e_add_u``, ``e_sub_u``, ``e_mul_u``, ``e_div_u``, ``e_dot_u`` | |
| +----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| | ``e_add_v``, ``e_sub_v``, ``e_mul_v``, ``e_div_v`` | | | | ``e_add_v``, ``e_sub_v``, ``e_mul_v``, ``e_div_v``, ``e_dot_v`` | |
| +----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| | ``u_dot_v``, ``u_dot_e``, ``v_dot_e`` | | | | ``src_mul_edge`` | alias of ``u_mul_e`` |
| +----------------------------------------------------+-----------------------+ +-------------------------+-----------------------------------------------------------------+-----------------------+
| | ``v_dot_u``, ``e_dot_u``, ``e_dot_v`` | | | Reduce function | ``max`` | |
| +----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| | ``src_mul_edge`` | alias of ``u_mul_e`` | | | ``min`` | |
+-------------------------+----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| Reduce function | ``max`` | | | | ``sum`` | |
| +----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| | ``min`` | | | | ``prod`` | |
| +----------------------------------------------------+-----------------------+ | +-----------------------------------------------------------------+-----------------------+
| | ``sum`` | | | | ``mean`` | |
| +----------------------------------------------------+-----------------------+ +-------------------------+-----------------------------------------------------------------+-----------------------+
| | ``prod`` | |
| +----------------------------------------------------+-----------------------+
| | ``mean`` | |
+-------------------------+----------------------------------------------------+-----------------------+
Next Step Next Step
--------- ---------
......
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