blob: 02e0eeecfaaf46f6cb7f6907df4a4df8abf08b9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#if GOOGLE_CUDA
#define EIGEN_USE_GPU
#include "tensorflow/core/kernels/batch_norm_op.h"
#include "tensorflow/core/framework/register_types.h"
namespace tensorflow {
typedef Eigen::GpuDevice GPUDevice;
template struct functor::BatchNorm<GPUDevice, float>;
template struct functor::BatchNormGrad<GPUDevice, float>;
} // namespace tensorflow
#endif // GOOGLE_CUDA
|