MCPcopy Index your code
hub / github.com/apache/tvm / main

Method main

web/tests/python/prepare_test_libs.py:33–35  ·  view source on GitHub ↗
(x: R.Tensor(["n"], "float32"), y: R.Tensor(["n"], "float32"))

Source from the content-addressed store, hash-verified

31 class Mod:
32 @R.function
33 def main(x: R.Tensor(["n"], "float32"), y: R.Tensor(["n"], "float32")):
34 lv0 = R.add(x, y)
35 return lv0
36
37 target = tvm.target.Target({"kind": "llvm", "mtriple": "wasm32-unknown-unknown-wasm"})
38

Callers

nothing calls this directly

Calls 2

TensorMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected