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

Function Func1

tests/python/relax/test_frontend_dynamo.py:167–172  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

165 )
166
167 def Func1(x, y):
168 z = torch.cat([x, y])
169 if z.size(0) > 5:
170 return z.mul(2)
171 else:
172 return z.add(2)
173
174 opt_func = torch.compile(Func1, backend=relax_dynamo(), dynamic=True)
175

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
mulMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…