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

Function fma3

src/gopt/test/basic_arith.cpp:44–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44SymbolVar fma3(SymbolVar a, SymbolVar b, SymbolVar c) {
45 return Elemwise::make({a, b, c}, Mode::FUSE_MUL_ADD3);
46}
47
48SymbolVar fma4(SymbolVar a, SymbolVar b, SymbolVar c, SymbolVar d) {
49 return Elemwise::make({a, b, c, d}, Mode::FUSE_MUL_ADD4);

Callers 1

TEST_PASSFunction · 0.85

Calls 1

makeFunction · 0.50

Tested by

no test coverage detected