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:1171–1173 ·
view source on GitHub ↗
(x: R.Tensor((10, 5), "float32"))
Source
from the content-addressed store, hash-verified
1169
1170
@R.function
1171
def
foo(x: R.Tensor((10, 5),
"float32"
)) -> R.Tensor((10, 5),
"float32"
):
1172
s = R.add(x, x)
1173
return
s
1174
1175
1176
def
test_if_branch():
Callers
nothing calls this directly
Calls
2
Tensor
Method · 0.80
add
Method · 0.45
Tested by
no test coverage detected