Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/dev/relay_add_pass.rst
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ also add a Python binding for the pass, as in this code snippet:

.. code:: c

TVM_REGISTER_API("relay._transform.FoldConstant")
TVM_REGISTER_GLOBAL("relay._transform.FoldConstant")
.set_body_typed(FoldConstant);

Once ``Pass`` objects are defined in the above fashion, they can be invoked using the
Expand Down