Skip to content

Commit

Permalink
[Doc] Fix broken link (#4438)
Browse files Browse the repository at this point in the history
* [Doc] Fix broken link

* [Doc] Fix broken link

* [Doc] Fix broken link
  • Loading branch information
cchung100m authored and tqchen committed Nov 27, 2019
1 parent 3a1c8c5 commit bcd33d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/dev/relay_pass_infra.rst
Expand Up @@ -627,7 +627,7 @@ For more pass infra related examples in Python and C++, please refer to

.. _Sequential: https://pytorch.org/docs/stable/nn.html?highlight=sequential#torch.nn.Sequential

.. _Block: https://mxnet.incubator.apache.org/_modules/mxnet/gluon/block.html
.. _Block: https://mxnet.incubator.apache.org/api/python/docs/api/gluon/block.html#gluon-block

.. _Relay module: https://docs.tvm.ai/langref/relay_expr.html#module-and-global-functions

Expand Down
4 changes: 2 additions & 2 deletions docs/dev/runtime.rst
Expand Up @@ -178,7 +178,7 @@ The RPC server itself is minimum and can be bundled into the runtime. We can sta
RPC server on iPhone/android/raspberry pi or even the browser. The cross compilation on server and shipping of the module for testing can be done in the same script. Checkout
`Cross compilation and RPC tutorial`_ for more details.

.. _Cross compilation and RPC tutorial: http://docs.tvm.ai/tutorials/deployment/cross_compilation_and_rpc.html#sphx-glr-tutorials-deployment-cross-compilation-and-rpc-py
.. _Cross compilation and RPC tutorial: https://docs.tvm.ai/tutorials/cross_compilation_and_rpc.html#sphx-glr-tutorials-cross-compilation-and-rpc-py

This instant feedback gives us a lot of advantages. For example, to test the correctness of generated code on iPhone, we no longer have to write test-cases in swift/objective-c from scratch -- We can use RPC to execute on iPhone, copy the result back and do verification on the host via numpy. We can also do the profiling using the same script.

Expand All @@ -197,7 +197,7 @@ All the language object in the compiler stack is a subclass of Node. Each node c
the type of object. We choose string instead of int as type key so new Node class can be added in the decentralized fashion without
adding the code back to the central repo. To ease the speed of dispatching, we allocate an integer type_index at runtime for each type_key.

.. _Node: https://github.com/dmlc/HalideIR/blob/master/src/tvm/node.h#L52
.. _Node: https://github.com/dmlc/HalideIR/blob/master/src/tvm/node/node.h#L61

Since usually one Node object could be referenced in multiple places in the language, we use a shared_ptr to keep
track of reference. We use NodeRef class to represent a reference to the Node.
Expand Down

0 comments on commit bcd33d8

Please sign in to comment.