MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / plus

Method plus

samples/common/half.h:1590–1593  ·  view source on GitHub ↗

Addition implementation. \param x first operand \param y second operand \return Half-precision sum stored in single-precision

Source from the content-addressed store, hash-verified

1588 /// \param y second operand
1589 /// \return Half-precision sum stored in single-precision
1590 static expr plus(float x, float y)
1591 {
1592 return expr(x + y);
1593 }
1594
1595 /// Subtraction implementation.
1596 /// \param x first operand

Callers

nothing calls this directly

Calls 1

exprClass · 0.70

Tested by

no test coverage detected