aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Yan Facai (颜发才) <facai.yan@gmail.com>2018-07-30 13:15:26 +0800
committerGravatar Yan Facai (颜发才) <facai.yan@gmail.com>2018-07-30 13:15:26 +0800
commitb01a74fbcbcc9da465abeba61643a9067b74febf (patch)
tree06e74c35a4f0fc6829c13ca84f96cb387d8f15f3
parent456bd20568fa723858e65fac93eed141cc5d1f19 (diff)
CLN: remove TF_PREDICT_TRUE
-rw-r--r--tensorflow/core/kernels/cwise_ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/kernels/cwise_ops.h b/tensorflow/core/kernels/cwise_ops.h
index a54892c53f..7eaa57f7c1 100644
--- a/tensorflow/core/kernels/cwise_ops.h
+++ b/tensorflow/core/kernels/cwise_ops.h
@@ -158,7 +158,7 @@ struct unsafe_div_op {
EIGEN_EMPTY_STRUCT_CTOR(unsafe_div_op)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const T operator()(const T& a,
const T& b) const {
- if (TF_PREDICT_TRUE(b != 0)) {
+ if (b != 0) {
return scalar_quotient_op<T>()(a, b);
} else {
return 0;