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

Function atan2

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

Arc tangent function. \param x first argument \param y second argument \return arc tangent value template typename enable ::type atan2(T x, U y) { return functions::atan2(x, y); }

Source from the content-addressed store, hash-verified

2378 /// \return arc tangent value
2379// template<typename T,typename U> typename enable<expr,T,U>::type atan2(T x, U y) { return functions::atan2(x, y); }
2380 MEGDNN_HOST MEGDNN_DEVICE inline expr atan2(half x, half y) { return functions::atan2(x, y); }
2381 MEGDNN_HOST MEGDNN_DEVICE inline expr atan2(half x, expr y) { return functions::atan2(x, y); }
2382 MEGDNN_HOST MEGDNN_DEVICE inline expr atan2(expr x, half y) { return functions::atan2(x, y); }
2383 MEGDNN_HOST MEGDNN_DEVICE inline expr atan2(expr x, expr y) { return functions::atan2(x, y); }

Callers 3

atan2Method · 0.70
dispatch_elemwise_modeFunction · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.40