Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/apache/tvm
/ test
Method
test
tests/python/relax/test_frontend_nn_op.py:36–39 ·
view source on GitHub ↗
(self, x: Tensor)
Source
from the content-addressed store, hash-verified
34
def
test_unary():
35
class
Model(Module):
36
def
test(self, x: Tensor):
37
z0 = op.square(x)
38
z1 = op.sqrt(x)
39
return
(z0, z1)
40
41
# fmt: off
42
@R.function
Callers
nothing calls this directly
Calls
15
subtract
Method · 0.80
greater
Method · 0.80
greater_equal
Method · 0.80
less
Method · 0.80
less_equal
Method · 0.80
not_equal
Method · 0.80
max
Method · 0.80
min
Method · 0.80
squeeze
Method · 0.80
prelu
Method · 0.80
group_norm
Method · 0.80
triu
Method · 0.80
Tested by
no test coverage detected