We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 034dc67 commit 4fd34b1Copy full SHA for 4fd34b1
apps/howto_deploy/prepare_test_libs.py
@@ -44,7 +44,7 @@ def prepare_graph_lib(base_path):
44
params = {"y": np.ones((2, 2), dtype="float32")}
45
mod = tvm.IRModule.from_expr(relay.Function([x, y], x + y))
46
# build a module
47
- compiled_lib = relay.build(mod, tvm.target.create("llvm"), params=params)
+ compiled_lib = relay.build(mod, tvm.target.Target("llvm"), params=params)
48
# export it as a shared library
49
# If you are running cross compilation, you can also consider export
50
# to tar and invoke host compiler later.
0 commit comments