Make sure math constants are defined for cwise ops.
PiperOrigin-RevId: 286277617 Change-Id: Ief36745883c36d48a0aad4f49aee806573502cc1
This commit is contained in:
parent
994c6e8dfe
commit
6ac005515f
@ -17,6 +17,8 @@ limitations under the License.
|
||||
#define TENSORFLOW_CORE_KERNELS_CWISE_OPS_COMMON_H_
|
||||
|
||||
// See docs in ../ops/math_ops.cc.
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <cmath>
|
||||
|
||||
#define EIGEN_USE_THREADS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user