diff options
Diffstat (limited to 'tensorflow/core/kernels/spacetodepth_op.cc')
-rw-r--r-- | tensorflow/core/kernels/spacetodepth_op.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/core/kernels/spacetodepth_op.cc b/tensorflow/core/kernels/spacetodepth_op.cc index 23df1c35e5..e59adfc6ac 100644 --- a/tensorflow/core/kernels/spacetodepth_op.cc +++ b/tensorflow/core/kernels/spacetodepth_op.cc @@ -188,6 +188,9 @@ REGISTER_KERNEL_BUILDER( Name("SpaceToDepth").Device(DEVICE_GPU).TypeConstraint<float>("T"), SpaceToDepthOp<GPUDevice, float>); REGISTER_KERNEL_BUILDER( + Name("SpaceToDepth").Device(DEVICE_GPU).TypeConstraint<Eigen::half>("T"), + SpaceToDepthOp<GPUDevice, Eigen::half>); +REGISTER_KERNEL_BUILDER( Name("SpaceToDepth").Device(DEVICE_GPU).TypeConstraint<qint8>("T"), SpaceToDepthOp<GPUDevice, qint8>); #endif // GOOGLE_CUDA |