diff options
Diffstat (limited to 'tensorflow/core/kernels/cast_op_impl_complex64.cc')
-rw-r--r-- | tensorflow/core/kernels/cast_op_impl_complex64.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tensorflow/core/kernels/cast_op_impl_complex64.cc b/tensorflow/core/kernels/cast_op_impl_complex64.cc index 617bda53d5..77bc620b46 100644 --- a/tensorflow/core/kernels/cast_op_impl_complex64.cc +++ b/tensorflow/core/kernels/cast_op_impl_complex64.cc @@ -20,15 +20,13 @@ namespace tensorflow { typedef Eigen::ThreadPoolDevice CPUDevice; typedef Eigen::GpuDevice GPUDevice; -std::function<void(OpKernelContext*, const Tensor&, Tensor*)> -GetCpuCastFromComplex64(DataType dst_dtype) { +CastFunctorType GetCpuCastFromComplex64(DataType dst_dtype) { CURRY_TYPES3(CAST_CASE, CPUDevice, std::complex<float>); return nullptr; } #if GOOGLE_CUDA -std::function<void(OpKernelContext*, const Tensor&, Tensor*)> -GetGpuCastFromComplex64(DataType dst_dtype) { +CastFunctorType GetGpuCastFromComplex64(DataType dst_dtype) { CURRY_TYPES3_NO_BF16(CAST_CASE, GPUDevice, std::complex<float>); return nullptr; } |