MCPcopy Create free account
hub / github.com/apache/tvm / main

Method main

tests/python/relax/test_tvmscript_parser.py:1779–1781  ·  view source on GitHub ↗
(x: R.Tensor((3, 3), dtype="float32"))

Source from the content-addressed store, hash-verified

1777 class Foo:
1778 @R.function
1779 def main(x: R.Tensor((3, 3), dtype="float32")):
1780 res = Foo.mul(x)
1781 return res
1782
1783 @R.function
1784 def mul(x: R.Tensor((3, 3), dtype="float32")):

Callers 1

Calls 2

TensorMethod · 0.80
mulMethod · 0.45

Tested by

no test coverage detected