blob: 825181bc3548253a261fb66d119b5007d6705058 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "tensorflow/core/kernels/cwise_ops_common.h"
namespace tensorflow {
REGISTER_KERNEL_BUILDER(Name("Complex").Device(DEVICE_CPU),
BinaryOp<CPUDevice, functor::make_complex<float>>);
#if GOOGLE_CUDA
REGISTER_KERNEL_BUILDER(Name("Complex").Device(DEVICE_GPU),
BinaryOp<GPUDevice, functor::make_complex<float>>);
#endif
} // namespace tensorflow
|