Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
189
def
_elemwise_ternary(hlo_op, a, b, c):
190
return
_elemwise(hlo_op, [a, b, c])
191
192
193
neg = partial(_elemwise_unary, hlo.NegOp)
Callers
nothing calls this directly
Calls
1
_elemwise
Function · 0.85
Tested by
no test coverage detected