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

Function erf

samples/common/half.h:3430–3433  ·  view source on GitHub ↗

Error function. \param arg function argument \return error function value of \a arg template typename enable ::type erf(T arg) { return functions::erf(arg); }

Source from the content-addressed store, hash-verified

3428/// \return error function value of \a arg
3429// template<typename T> typename enable<expr,T>::type erf(T arg) { return functions::erf(arg); }
3430inline expr erf(half arg)
3431{
3432 return functions::erf(arg);
3433}
3434inline expr erf(expr arg)
3435{
3436 return functions::erf(arg);

Callers 2

erfMethod · 0.70
erfcMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected