Commit 4d4346d1 by hlu1 Committed by Tianqi Chen

[Doc] TVM_REGISTER_API -> TVM_REGISTER_GLOBAL (#4768)

parent b9328d02
......@@ -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
......
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