MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / _elemwise_ternary

Function _elemwise_ternary

imperative/python/megengine/xla/rules/elemwise.py:189–190  ·  view source on GitHub ↗
(hlo_op, a, b, c)

Source from the content-addressed store, hash-verified

187
188
189def _elemwise_ternary(hlo_op, a, b, c):
190 return _elemwise(hlo_op, [a, b, c])
191
192
193neg = partial(_elemwise_unary, hlo.NegOp)

Callers

nothing calls this directly

Calls 1

_elemwiseFunction · 0.85

Tested by

no test coverage detected