Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ test_opr_attr
Function
test_opr_attr
imperative/python/test/unit/core/test_imperative_rt.py:26–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
25
26
def
test_opr_attr():
27
from
megengine.core.ops.builtin
import
Elemwise
28
29
assert Elemwise(Elemwise.Mode.ADD) == Elemwise(Elemwise.Mode.ADD)
30
31
32
def
test_simple_arith():
Callers
nothing calls this directly
Calls
1
Elemwise
Class · 0.50
Tested by
no test coverage detected