Skip to content

Commit

Permalink
[DOCS] Fix some of the docs errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed Feb 27, 2020
1 parent 8c6a772 commit f38200e
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 116 deletions.
1 change: 0 additions & 1 deletion docs/api/python/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Python API
.. toctree::
:maxdepth: 2

tvm
runtime
ndarray
error
Expand Down
38 changes: 3 additions & 35 deletions docs/api/python/relay/op.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,38 +18,6 @@
tvm.relay.op
------------
.. automodule:: tvm.relay.op
:members:

.. autofunction:: tvm.relay.op.Op

.. autofunction:: tvm.relay.op.OpPattern

.. autofunction:: tvm.relay.op.get

.. autofunction:: tvm.relay.op.register

.. autofunction:: tvm.relay.op.register_schedule

.. autofunction:: tvm.relay.op.register_pattern

.. autofunction:: tvm.relay.op.register_compute

.. autofunction:: tvm.relay.op.register_gradient

.. autofunction:: tvm.relay.op.register_alter_op_layout

.. autofunction:: tvm.relay.op.schedule_injective

.. autofunction:: tvm.relay.op.debug

.. automodule:: tvm.relay.op.reduce
:members:

.. automodule:: tvm.relay.op.tensor
:members:

.. automodule:: tvm.relay.op.transform
:members:

.. automodule:: tvm.relay.op.nn
:members:
:members:
:imported-members:
:autosummary:
76 changes: 0 additions & 76 deletions docs/api/python/tvm.rst

This file was deleted.

2 changes: 0 additions & 2 deletions python/tvm/target/generic_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ def override_native_generic_func(func_name):
.. code-block:: python
import tvm
from tvm import te
# wrap function as target generic
@tvm.target.override_native_generic_func("my_func")
def my_func(a):
Expand Down Expand Up @@ -211,7 +210,6 @@ def generic_func(fdefault):
.. code-block:: python
import tvm
from tvm import te
# wrap function as target generic
@tvm.target.generic_func
def my_func(a):
Expand Down
2 changes: 1 addition & 1 deletion tutorials/language/intrin_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
# TVM intrinsic provides the user a mechanism to achieve this, and this
# is the recommended way to solve the problem.
# The following code use te.exp instead, which create an intrinsic call
# :any:`te.exp` to do the exponential.
# :py::func:`te.exp` to do the exponential.
#
n = te.var("n")
A = te.placeholder((n,), name='A')
Expand Down
2 changes: 1 addition & 1 deletion vta/tutorials/frontend/deploy_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.
"""
Deploy Pretrained Vision Detection Model from Darknet on VTA
================================================
============================================================
**Author**: `Hua Jiang <https://github.com/huajsj>`_
This tutorial provides an end-to-end demo, on how to run Darknet YoloV3-tiny
Expand Down

0 comments on commit f38200e

Please sign in to comment.