From 39c0c42b6a9d35f7e385e77763fb9d6a9a63be55 Mon Sep 17 00:00:00 2001 From: Yong Tang <yong.tang.github@outlook.com> Date: Thu, 8 Aug 2019 14:11:19 -0700 Subject: [PATCH] Removed duplicated registration of LessEqual with bfloat16 This is a follow up PR to 30479 where the duplicated registration of Less with bfloat16 has been removed, but not LessEqual This fix fixed duplicate bfloat16 entry of LessEqual as well. This fix is related to 30476. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- tensorflow/core/kernels/cwise_op_less_equal.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/core/kernels/cwise_op_less_equal.cc b/tensorflow/core/kernels/cwise_op_less_equal.cc index 1998fc0b2ad..43af03878e9 100644 --- a/tensorflow/core/kernels/cwise_op_less_equal.cc +++ b/tensorflow/core/kernels/cwise_op_less_equal.cc @@ -18,8 +18,8 @@ limitations under the License. namespace tensorflow { REGISTER5(BinaryOp, CPU, "LessEqual", functor::less_equal, float, Eigen::half, bfloat16, double, int32); -REGISTER5(BinaryOp, CPU, "LessEqual", functor::less_equal, int64, uint8, int8, - int16, bfloat16); +REGISTER4(BinaryOp, CPU, "LessEqual", functor::less_equal, int64, uint8, int8, + int16); #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM REGISTER7(BinaryOp, GPU, "LessEqual", functor::less_equal, float, Eigen::half,