File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1- """namespace of internal API"""
1+ """Namespace of internal API
2+
3+ The functions in this namespace are automatically exported from C++ side via PackedFunc
4+ that is registered by "TVM_REGISTER_*" macro. This way makes calling Python functions from C++
5+ side very easily.
6+
7+ Each string starts with "_" in the "TVM_REGISTER_*" macro is an internal API. You can find
8+ all the functions in "api_lang.cc", "api_base.cc", "api_arith.cc" and "api_ir.cc" under "src/api".
9+ """
Original file line number Diff line number Diff line change 44The functions are automatically exported from C++ side via PackedFunc.
55
66Each api is a PackedFunc that can be called in a positional argument manner.
7- You can read "include/tvm/pass.h" for the function signature of these functions.
7+ You can read "include/tvm/ir_pass.h" for the function signature and
8+ "src/api/api_pass.cc" for the PackedFunc's body of these functions.
89"""
910from ._ffi .function import _init_api
1011
You can’t perform that action at this time.
0 commit comments