MCPcopy Create free account
hub / github.com/VectorDB-NTU/RaBitQ-Library / tanh

Function tanh

include/rabitqlib/third/Eigen/src/Core/MathFunctions.h:1782–1786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1780
1781template<typename T>
1782EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
1783T tanh(const T &x) {
1784 EIGEN_USING_STD(tanh);
1785 return tanh(x);
1786}
1787
1788#if (!defined(EIGEN_GPUCC)) && EIGEN_FAST_MATH && !defined(SYCL_DEVICE_ONLY)
1789EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE

Callers 1

ptanhFunction · 0.70

Calls 1

generic_fast_tanh_floatFunction · 0.85

Tested by

no test coverage detected