Skip to content

Commit 4b183da

Browse files
authored
[skipci] Fix typo in docs/arch/index.rst (#15312)
Fix typo in docs/arch/index.rst
1 parent c0946e1 commit 4b183da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/arch/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ The main goal of TVM's runtime is to provide a minimal API for loading and execu
152152
mod: tvm.runtime.Module = tvm.runtime.load_module("compiled_artifact.so")
153153
arr: tvm.runtime.NDArray = tvm.nd.array([1, 2, 3], device=tvm.cuda(0))
154154
fun: tvm.runtime.PackedFunc = mod["addone"]
155-
fun(a)
156-
print(a.numpy())
155+
fun(arr)
156+
print(arr.numpy())
157157
158158
159159
:py:class:`tvm.runtime.Module` encapsulates the result of compilation. A runtime.Module contains a GetFunction method to obtain PackedFuncs by name.

0 commit comments

Comments
 (0)