From 46b6cde864060e59f3b437f2b2be440798a1e40e Mon Sep 17 00:00:00 2001 From: Yong Tang <yong.tang.github@outlook.com> Date: Mon, 8 Jul 2019 00:22:04 -0700 Subject: [PATCH] Removed duplicated registration of Less with bfloat16 This fix tries to address the issue raised in 30476 where Op Less was registered twice which triggered `Multiple OpKernel registrations` error This fix removes the duplication. This fix fies 30476. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- tensorflow/core/kernels/cwise_op_less.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tensorflow/core/kernels/cwise_op_less.cc b/tensorflow/core/kernels/cwise_op_less.cc index 563bb7d4566..062a029f069 100644 --- a/tensorflow/core/kernels/cwise_op_less.cc +++ b/tensorflow/core/kernels/cwise_op_less.cc @@ -18,8 +18,7 @@ limitations under the License. namespace tensorflow { REGISTER5(BinaryOp, CPU, "Less", functor::less, float, Eigen::half, double, bfloat16, int32); -REGISTER5(BinaryOp, CPU, "Less", functor::less, int64, uint8, int8, int16, - bfloat16); +REGISTER4(BinaryOp, CPU, "Less", functor::less, int64, uint8, int8, int16); #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM REGISTER7(BinaryOp, GPU, "Less", functor::less, float, Eigen::half, double,