blob: 00d2e7c0c7813d084ca616bb201645161e271b8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifdef _WIN32
#define sleep(seconds) Sleep(1000*seconds)
#endif // _WIN32
#include "unsupported/Eigen/CXX11/Tensor"
#ifdef _WIN32
// On Windows, Eigen will include Windows.h, which defines various
// macros that conflict with TensorFlow symbols. Undefine them here to
// prevent clashes.
#undef DeleteFile
#undef ERROR
#undef LoadLibrary
#endif // _WIN32
|