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

Function fdim

samples/common/half.h:3040–3043  ·  view source on GitHub ↗

Positive difference. \param x first operand \param y second operand \return \a x - \a y or 0 if difference negative template typename enable ::type fdim(T x, U y) { return functions::fdim(x, y); }

Source from the content-addressed store, hash-verified

3038/// \return \a x - \a y or 0 if difference negative
3039// template<typename T,typename U> typename enable<expr,T,U>::type fdim(T x, U y) { return functions::fdim(x, y); }
3040inline expr fdim(half x, half y)
3041{
3042 return functions::fdim(x, y);
3043}
3044inline expr fdim(half x, expr y)
3045{
3046 return functions::fdim(x, y);

Callers 1

fdimMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected