MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / operator()

Method operator()

tensorflow/core/kernels/cwise_ops.h:1033–1042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1031struct scalar_atan2_op {
1032 EIGEN_EMPTY_STRUCT_CTOR(scalar_atan2_op)
1033 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar
1034 operator()(const Scalar& y, const Scalar& x) const {
1035#if GOOGLE_CUDA
1036 return std::atan2(y, x);
1037#elif TENSORFLOW_USE_ROCM
1038 return ::atan2(y, x);
1039#else
1040 return std::atan2(y, x);
1041#endif
1042 }
1043};
1044
1045template <typename T>

Callers

nothing calls this directly

Calls 1

atan2Class · 0.85

Tested by

no test coverage detected