blob: dbbe08ef9c08d8bbe51cf4cfe5ec6521aaafe168 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#if GOOGLE_CUDA
#define EIGEN_USE_GPU
#include "tensorflow/core/kernels/conv_2d.h"
#include "tensorflow/core/framework/register_types.h"
namespace tensorflow {
typedef Eigen::GpuDevice GPUDevice;
template struct functor::ShuffleAndReverse<GPUDevice, float, 4>;
template struct functor::TransformFilter<GPUDevice, float>;
template struct functor::PadInput<GPUDevice, float>;
template struct functor::TransformDepth<GPUDevice, float>;
} // namespace tensorflow
#endif // GOOGLE_CUDA
|