MCPcopy 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

34def 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

subtractMethod · 0.80
greaterMethod · 0.80
greater_equalMethod · 0.80
lessMethod · 0.80
less_equalMethod · 0.80
not_equalMethod · 0.80
maxMethod · 0.80
minMethod · 0.80
squeezeMethod · 0.80
preluMethod · 0.80
group_normMethod · 0.80
triuMethod · 0.80

Tested by

no test coverage detected