Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/apache/tvm
/ foo
Method
foo
tests/python/relax/test_tvmscript_parser.py:1148–1150 ·
view source on GitHub ↗
(x: R.Tensor((10, 5), "float32"))
Source
from the content-addressed store, hash-verified
1146
class
Mod0:
1147
@R.function
1148
def
foo(x: R.Tensor((10, 5),
"float32"
)):
1149
s = R.add(x, x)
1150
return
s
1151
1152
@R.function
1153
def
main(x: R.Tensor((10, 5),
"float32"
)):
Callers
2
main
Method · 0.45
main
Method · 0.45
Calls
2
Tensor
Method · 0.80
add
Method · 0.45
Tested by
no test coverage detected