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

Function atan

dnn/include/megdnn/dtype/half.hpp:2372–2372  ·  view source on GitHub ↗

Arc tangent function. \param arg function argument \return arc tangent value of \a arg template typename enable ::type atan(T arg) { return functions::atan(arg); }

Source from the content-addressed store, hash-verified

2370 /// \return arc tangent value of \a arg
2371// template<typename T> typename enable<expr,T>::type atan(T arg) { return functions::atan(arg); }
2372 MEGDNN_HOST MEGDNN_DEVICE inline expr atan(half arg) { return functions::atan(arg); }
2373 MEGDNN_HOST MEGDNN_DEVICE inline expr atan(expr arg) { return functions::atan(arg); }
2374
2375 /// Arc tangent function.

Callers 2

atanMethod · 0.70
TESTFunction · 0.50

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.40