Commit 17b60b90 by Marcus Shawcroft Committed by Tianqi Chen

[DOC] fix :code: markup syntax (#3140)

parent 18dbfb15
...@@ -50,8 +50,8 @@ print(tvm.lower(s, [A], simple_mode=True)) ...@@ -50,8 +50,8 @@ print(tvm.lower(s, [A], simple_mode=True))
###################################################################### ######################################################################
# However, for such a common operation we had to define the reduce axis ourselves as well as explicit computation with # However, for such a common operation we had to define the reduce axis ourselves as well as explicit computation with
# :code: `tvm.compute`. Imagine for more complicated operations how much details we need to provide. # :code:`tvm.compute`. Imagine for more complicated operations how much details we need to provide.
# Fortunately, we can replace those two lines with simple :code:`topi.sum` much like :code`numpy.sum` # Fortunately, we can replace those two lines with simple :code:`topi.sum` much like :code:`numpy.sum`
# #
C = topi.sum(A, axis=1) C = topi.sum(A, axis=1)
ts = tvm.create_schedule(C.op) ts = tvm.create_schedule(C.op)
......
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