Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
a8c28825
Unverified
Commit
a8c28825
authored
Sep 14, 2019
by
Zihao Ye
Committed by
GitHub
Sep 14, 2019
Browse files
upd (#857)
parent
0a56d652
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
39 deletions
+35
-39
docs/source/features/builtin.rst
docs/source/features/builtin.rst
+35
-39
No files found.
docs/source/features/builtin.rst
View file @
a8c28825
...
@@ -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
---------
---------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment