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

Function fma

dnn/include/megdnn/dtype/bfloat16.hpp:1753–1755  ·  view source on GitHub ↗

Fused multiply add. \param x first operand \param y second operand \param z third operand \return ( \a x * \a y ) + \a z rounded as one operation. template typename enable ::type fma(T x, U y, V z) { return functions::fma(x, y, z); }

Source from the content-addressed store, hash-verified

1751// z);
1752//}
1753MEGDNN_HOST MEGDNN_DEVICE inline expr fma(bfloat16 x, bfloat16 y, bfloat16 z) {
1754 return functions::fma(x, y, z);
1755}
1756MEGDNN_HOST MEGDNN_DEVICE inline expr fma(bfloat16 x, bfloat16 y, expr z) {
1757 return functions::fma(x, y, z);
1758}

Callers 1

fmaMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected