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

Method main

tests/python/relax/test_transform_legalize_ops_binary.py:1618–1620  ·  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

1616 class LessEqual:
1617 @R.function
1618 def main(x: R.Tensor((1, 2, 3), "float32"), y: R.Tensor((4, 3, 2, 1), "float32")) -> R.Tensor((4, 3, 2, 3), "bool"):
1619 gv: R.Tensor((4, 3, 2, 3), "bool") = R.less_equal(x, y)
1620 return gv
1621
1622 @tvm.script.ir_module
1623 class Expected:

Callers

nothing calls this directly

Calls 2

TensorMethod · 0.80
less_equalMethod · 0.80

Tested by

no test coverage detected