-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
update relay python api doc #2766
Conversation
docs/api/python/relay/nn.rst
Outdated
@@ -1,7 +0,0 @@ | |||
tvm.relay.nn |
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.
We do need t make keep relay/nn.rst and relay/vision.rst
For now, let us not cross ref, let us keep the relay.nn and relay.vision namespace because they are what are used directly by the user. Let us not refer to relay_op for now, since that will result in a too deep nesting. You can build the doc locally to verify We can bring other changes. |
@yongwww after you make the change, try following command to build docs locally(from Jenkins script). Then verify the docs in browser. mkdir -p build
cd build
cp ../cmake/config.cmake .
echo 'set(USE_SORT' 'ON)' >> config.cmake
echo 'set(USE_GRAPH_RUNTIME_DEBUG' 'ON)' >> config.cmake
echo 'set(USE_LLVM' 'llvm-config-4.0)' >> config.cmake
echo 'set(USE_NNPACK' 'ON)' >> config.cmake
echo 'set(NNPACK_PATH' '/NNPACK/build/)' >> config.cmake
echo 'set(USE_ANTLR' 'ON)' >> config.cmake
echo 'set(CMAKE_CXX_COMPILER' 'g++)' >> config.cmake
echo 'set(CMAKE_CXX_FLAGS' '-Werror)' >> config.cmake
cd ..
docker/bash.sh tvmai/ci-cpu ./tests/scripts/task_build.sh build -j2
docker/bash.sh tvmai/ci-cpu ./tests/scripts/task_python_docs.sh |
Fix for issue #2644