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

Method plus

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

Source from the content-addressed store, hash-verified

693 /// \param y second operand
694 /// \return bfloat16 sum stored in single-precision
695 MEGDNN_HOST MEGDNN_DEVICE static expr plus(float x, float y) {
696 return expr(x + y);
697 }
698
699 /// Subtraction implementation.
700 /// \param x first operand

Callers

nothing calls this directly

Calls 1

exprClass · 0.70

Tested by

no test coverage detected