From a8c288251baa21a279ab83e779c2e5cadec2e82a Mon Sep 17 00:00:00 2001 From: Zihao Ye Date: Sat, 14 Sep 2019 22:03:59 +0800 Subject: [PATCH] upd (#857) --- docs/source/features/builtin.rst | 74 +++++++++++++++----------------- 1 file changed, 35 insertions(+), 39 deletions(-) diff --git a/docs/source/features/builtin.rst b/docs/source/features/builtin.rst index 558d56a122ce..b17f5e52c570 100644 --- a/docs/source/features/builtin.rst +++ b/docs/source/features/builtin.rst @@ -75,45 +75,41 @@ required (e.g. ``pull``, ``push``, ``send_and_recv``, etc.). Here is a cheatsheet of all the DGL builtins. -+-------------------------+----------------------------------------------------+-----------------------+ -| Category | Functions | Memo | -+=========================+====================================================+=======================+ -| Unary message function | ``copy_u`` | | -| +----------------------------------------------------+-----------------------+ -| | ``copy_e`` | | -| +----------------------------------------------------+-----------------------+ -| | ``copy_src`` | alias of ``copy_u`` | -| +----------------------------------------------------+-----------------------+ -| | ``copy_edge`` | alias of ``copy_e`` | -+-------------------------+----------------------------------------------------+-----------------------+ -| Binary message function | ``u_add_v``, ``u_sub_v``, ``u_mul_v``, ``u_div_v`` | | -| +----------------------------------------------------+-----------------------+ -| | ``u_add_e``, ``u_sub_e``, ``u_mul_e``, ``u_div_e`` | | -| +----------------------------------------------------+-----------------------+ -| | ``v_add_u``, ``v_sub_u``, ``v_mul_u``, ``v_div_u`` | | -| +----------------------------------------------------+-----------------------+ -| | ``v_add_e``, ``v_sub_e``, ``v_mul_e``, ``v_div_e`` | | -| +----------------------------------------------------+-----------------------+ -| | ``e_add_u``, ``e_sub_u``, ``e_mul_u``, ``e_div_u`` | | -| +----------------------------------------------------+-----------------------+ -| | ``e_add_v``, ``e_sub_v``, ``e_mul_v``, ``e_div_v`` | | -| +----------------------------------------------------+-----------------------+ -| | ``u_dot_v``, ``u_dot_e``, ``v_dot_e`` | | -| +----------------------------------------------------+-----------------------+ -| | ``v_dot_u``, ``e_dot_u``, ``e_dot_v`` | | -| +----------------------------------------------------+-----------------------+ -| | ``src_mul_edge`` | alias of ``u_mul_e`` | -+-------------------------+----------------------------------------------------+-----------------------+ -| Reduce function | ``max`` | | -| +----------------------------------------------------+-----------------------+ -| | ``min`` | | -| +----------------------------------------------------+-----------------------+ -| | ``sum`` | | -| +----------------------------------------------------+-----------------------+ -| | ``prod`` | | -| +----------------------------------------------------+-----------------------+ -| | ``mean`` | | -+-------------------------+----------------------------------------------------+-----------------------+ ++-------------------------+-----------------------------------------------------------------+-----------------------+ +| Category | Functions | Memo | ++=========================+=================================================================+=======================+ +| Unary message function | ``copy_u`` | | +| +-----------------------------------------------------------------+-----------------------+ +| | ``copy_e`` | | +| +-----------------------------------------------------------------+-----------------------+ +| | ``copy_src`` | alias of ``copy_u`` | +| +-----------------------------------------------------------------+-----------------------+ +| | ``copy_edge`` | alias of ``copy_e`` | ++-------------------------+-----------------------------------------------------------------+-----------------------+ +| 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_dot_e`` | | +| +-----------------------------------------------------------------+-----------------------+ +| | ``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_dot_e`` | | +| +-----------------------------------------------------------------+-----------------------+ +| | ``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_dot_v`` | | +| +-----------------------------------------------------------------+-----------------------+ +| | ``src_mul_edge`` | alias of ``u_mul_e`` | ++-------------------------+-----------------------------------------------------------------+-----------------------+ +| Reduce function | ``max`` | | +| +-----------------------------------------------------------------+-----------------------+ +| | ``min`` | | +| +-----------------------------------------------------------------+-----------------------+ +| | ``sum`` | | +| +-----------------------------------------------------------------+-----------------------+ +| | ``prod`` | | +| +-----------------------------------------------------------------+-----------------------+ +| | ``mean`` | | ++-------------------------+-----------------------------------------------------------------+-----------------------+ Next Step ---------