MCPcopy Index your code
hub / github.com/apache/tvm / extra

Method extra

tests/python/relax/test_transform_convert_dataflow.py:377–382  ·  view source on GitHub ↗
(x: R.Tensor, y: R.Tensor)

Source from the content-addressed store, hash-verified

375 class Before:
376 @R.function(pure=False)
377 def extra(x: R.Tensor, y: R.Tensor) -> R.Tensor:
378 z = R.add(x, y)
379 q = R.matmul(z, x)
380 w = R.nn.relu(q)
381 _ = R.print(format="Whoa")
382 return w
383
384 @R.function(pure=False)
385 def main(x: R.Tensor, y: R.Tensor) -> R.Tensor:

Callers 2

mainMethod · 0.45
mainMethod · 0.45

Calls 4

addMethod · 0.45
matmulMethod · 0.45
reluMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected