Commit 2cf3fd02 by Haibin Lin Committed by Tianqi Chen

Minor doc fixes (#1458)

parent bea51bb6
...@@ -28,7 +28,7 @@ from tvm import autotvm ...@@ -28,7 +28,7 @@ from tvm import autotvm
# tunable schedule template. You can regard the process of search space definition # tunable schedule template. You can regard the process of search space definition
# as the parametrization of our exiting schedule code. # as the parametrization of our exiting schedule code.
# #
# To begin with, here is how we implement a blocked matrix multiplication in tvm # To begin with, here is how we implement a blocked matrix multiplication in tvm.
# Matmul V0: Constant tiling factor # Matmul V0: Constant tiling factor
def matmul_v0(N, L, M, dtype): def matmul_v0(N, L, M, dtype):
......
...@@ -60,7 +60,7 @@ for example. ...@@ -60,7 +60,7 @@ for example.
# #
# make runtime # make runtime
# #
# After success of buildind runtime, we need set environment varibles # After building runtime successfully, we need to set environment varibles
# in :code:`~/.bashrc` file of yourself account or :code:`/etc/profile` # in :code:`~/.bashrc` file of yourself account or :code:`/etc/profile`
# of system enviroment variables. Assuming your TVM directory is in # of system enviroment variables. Assuming your TVM directory is in
# :code:`~/tvm` and set environment variables below your account. # :code:`~/tvm` and set environment variables below your account.
...@@ -69,7 +69,7 @@ for example. ...@@ -69,7 +69,7 @@ for example.
# #
# vi ~/.bashrc # vi ~/.bashrc
# #
# We need edit :code:`~/.bashrc` using :code:`vi ~/.bashrc` and add # We need to edit :code:`~/.bashrc` using :code:`vi ~/.bashrc` and add
# lines below (Assuming your TVM directory is in :code:`~/tvm`): # lines below (Assuming your TVM directory is in :code:`~/tvm`):
# #
# .. code-block:: bash # .. code-block:: bash
...@@ -92,8 +92,8 @@ for example. ...@@ -92,8 +92,8 @@ for example.
# #
# python -m tvm.exec.rpc_server --host 0.0.0.0 --port=9090 # python -m tvm.exec.rpc_server --host 0.0.0.0 --port=9090
# #
# After executing command above, if you see these lines below, it's # After executing the command above, if you see these lines below, it means
# successful to start RPC server on your device. # the RPC server started successfully on your device.
# #
# .. code-block:: bash # .. code-block:: bash
# #
...@@ -215,7 +215,7 @@ np.testing.assert_equal(b.asnumpy(), a.asnumpy() + 1) ...@@ -215,7 +215,7 @@ np.testing.assert_equal(b.asnumpy(), a.asnumpy() + 1)
###################################################################### ######################################################################
# When you want to evaluate the performance of the kernel on the remote # When you want to evaluate the performance of the kernel on the remote
# device, it is important to avoid overhead of remote function call. # device, it is important to avoid overhead of remote function calls.
# :code:`time_evaluator` will returns a remote function that runs the # :code:`time_evaluator` will returns a remote function that runs the
# function over number times, measures the cost per run on the remote # function over number times, measures the cost per run on the remote
# device and returns the measured cost. # device and returns the measured cost.
......
...@@ -18,7 +18,7 @@ import numpy as np ...@@ -18,7 +18,7 @@ import numpy as np
# Describe Batchwise Computation # Describe Batchwise Computation
# ------------------------------ # ------------------------------
# For operators which have the same shape, we can put them together as # For operators which have the same shape, we can put them together as
# the inputs of :any:`tvm.compute`, if we wish they can be scheduled # the inputs of :any:`tvm.compute`, if we want them to be scheduled
# together in the next schedule procedure. # together in the next schedule procedure.
# #
n = tvm.var("n") n = tvm.var("n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment