New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOC] Codebase walkthrough with vector add example #2273
Conversation
docs/dev/codebase_walkthrough.rst
Outdated
- Compile the operator into object code | ||
|
||
One of the interesting aspects of TVM codebase is that interop between C++ and Python is not unidirectional. Typically, all code that do heavy liftings are implemented in C++, and Python bindings are provided for user interface. This is also true in TVM, but in TVM codebase, C++ code also call into functions defined in a Python module. For example, the convolution operator is implemented in Python, and its implementation is invoked from C++ code in nnvm. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that we are transitioning to relay, Is it possible to directly introduce the graph related part in the context of relay?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I can update nnvm part with relay to reflect the latest development. But I think it is a good idea to leave some note about nnvm because many doc and tutorials are written in terms of nnvm. People may be confused If we don't mention nnvm in this doc.
I should mention that the vector add example in this PR use low level tvm API directly. There is no detail of topi, nnvm, or relay, to keep it simple. |
bca6fc8
to
c4aa149
Compare
If there is no further requested changes, I will merge this PR within 24 hours. Thanks @masahi @yzhliu @merrymercy @jroesch |
Sorry I screwed up my PR at #2206 and accidentally closed it, so reopening here. All comments I got there are addressed.
The first stab at #2160.
@tqchen @yzhliu @merrymercy @vinx13 please review.