Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
174c92a8
Commit
174c92a8
authored
Jan 29, 2019
by
lee
Committed by
Tianqi Chen
Jan 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC]Update doc in _api_internal.py and ir_pass.py (#2514)
parent
02631f67
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
python/tvm/_api_internal.py
+9
-1
python/tvm/ir_pass.py
+2
-1
No files found.
python/tvm/_api_internal.py
View file @
174c92a8
"""namespace of internal API"""
"""Namespace of internal API
The functions in this namespace are automatically exported from C++ side via PackedFunc
that is registered by "TVM_REGISTER_*" macro. This way makes calling Python functions from C++
side very easily.
Each string starts with "_" in the "TVM_REGISTER_*" macro is an internal API. You can find
all the functions in "api_lang.cc", "api_base.cc", "api_arith.cc" and "api_ir.cc" under "src/api".
"""
python/tvm/ir_pass.py
View file @
174c92a8
...
@@ -4,7 +4,8 @@ This namespace is used for developers. While you do not see any declarations.
...
@@ -4,7 +4,8 @@ This namespace is used for developers. While you do not see any declarations.
The functions are automatically exported from C++ side via PackedFunc.
The functions are automatically exported from C++ side via PackedFunc.
Each api is a PackedFunc that can be called in a positional argument manner.
Each api is a PackedFunc that can be called in a positional argument manner.
You can read "include/tvm/pass.h" for the function signature of these functions.
You can read "include/tvm/ir_pass.h" for the function signature and
"src/api/api_pass.cc" for the PackedFunc's body of these functions.
"""
"""
from
._ffi.function
import
_init_api
from
._ffi.function
import
_init_api
...
...
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