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

Method main

tests/python/relax/test_transform_legalize_ops_binary.py:2088–2090  ·  view source on GitHub ↗
(x: R.Tensor((1, 2, 3), "float32"), y: R.Tensor((4, 3, 2, 1), "float32"))

Source from the content-addressed store, hash-verified

2086 class Minimum:
2087 @R.function
2088 def main(x: R.Tensor((1, 2, 3), "float32"), y: R.Tensor((4, 3, 2, 1), "float32")) -> R.Tensor((4, 3, 2, 3), "float32"):
2089 gv: R.Tensor((4, 3, 2, 3), "float32") = R.minimum(x, y)
2090 return gv
2091
2092
2093 @tvm.script.ir_module

Callers

nothing calls this directly

Calls 2

TensorMethod · 0.80
minimumMethod · 0.45

Tested by

no test coverage detected