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

Function erf

dnn/include/megdnn/dtype/half.hpp:2439–2439  ·  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

2437 /// \return error function value of \a arg
2438// template<typename T> typename enable<expr,T>::type erf(T arg) { return functions::erf(arg); }
2439 MEGDNN_HOST MEGDNN_DEVICE inline expr erf(half arg) { return functions::erf(arg); }
2440 MEGDNN_HOST MEGDNN_DEVICE inline expr erf(expr arg) { return functions::erf(arg); }
2441
2442 /// Complementary error function.

Callers 4

erfMethod · 0.70
erfcMethod · 0.70
dispatch_elemwise_modeFunction · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.40