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

Function TEST_PASS

src/gopt/test/misc.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using namespace mgb;
13
14TEST_PASS(RemoveNonComputingOprPass, Simple) {
15 auto x = mkvar("x");
16 check(x, opr::MarkNoBroadcastElemwise::make(x));
17}
18
19TEST_PASS(RemoveNonComputingOprPass, Split) {
20 auto a = mkvar("a"), b = mkvar("b"),

Callers

nothing calls this directly

Calls 15

gradFunction · 0.85
make_callback_copyFunction · 0.85
reduceFunction · 0.85
SymbolVarClass · 0.85
symshapeMethod · 0.80
emplace_backMethod · 0.80
joinMethod · 0.80
checkFunction · 0.50
makeFunction · 0.50
reduce_sumFunction · 0.50
genFunction · 0.50
absFunction · 0.50

Tested by

no test coverage detected