Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ elemwise
Function
elemwise
imperative/python/test/unit/core/test_imperative_rt.py:10–13 ·
view source on GitHub ↗
(*args, mode)
Source
from the content-addressed store, hash-verified
8
9
10
def
elemwise(*args, mode):
11
from
megengine.core.ops.builtin
import
Elemwise
12
13
return
apply(Elemwise(mode), *args)
14
15
16
def
test_basic_interface():
Callers
2
test_simple_arith
Function · 0.70
test_func
Function · 0.50
Calls
2
apply
Function · 0.50
Elemwise
Class · 0.50
Tested by
no test coverage detected