MCPcopy 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
10def elemwise(*args, mode):
11 from megengine.core.ops.builtin import Elemwise
12
13 return apply(Elemwise(mode), *args)
14
15
16def test_basic_interface():

Callers 2

test_simple_arithFunction · 0.70
test_funcFunction · 0.50

Calls 2

applyFunction · 0.50
ElemwiseClass · 0.50

Tested by

no test coverage detected