aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/cwise_op_sub.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <nobody@tensorflow.org>2016-04-19 14:02:36 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-04-19 15:12:21 -0700
commit97880edb4edc3196c37be0cefa2ba506d315b7ec (patch)
treedeb67ffaa8bb1b6a9d54c568e4720239d826b8b9 /tensorflow/core/kernels/cwise_op_sub.cc
parentb1d7f22fc6ab2bd3c1064b19621b9f889efb203f (diff)
For Android slim mode the first type of Register is used.
Eigen::half has been previously introduced and now occupies this position. Change the order so that the first type is float again. Change: 120274210
Diffstat (limited to 'tensorflow/core/kernels/cwise_op_sub.cc')
-rw-r--r--tensorflow/core/kernels/cwise_op_sub.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/core/kernels/cwise_op_sub.cc b/tensorflow/core/kernels/cwise_op_sub.cc
index cd2f1ae753..245f13ad68 100644
--- a/tensorflow/core/kernels/cwise_op_sub.cc
+++ b/tensorflow/core/kernels/cwise_op_sub.cc
@@ -16,10 +16,10 @@ limitations under the License.
#include "tensorflow/core/kernels/cwise_ops_common.h"
namespace tensorflow {
-REGISTER6(BinaryOp, CPU, "Sub", functor::sub, Eigen::half, float, double, int32,
+REGISTER6(BinaryOp, CPU, "Sub", functor::sub, float, Eigen::half, double, int32,
int64, complex64);
#if GOOGLE_CUDA
-REGISTER4(BinaryOp, GPU, "Sub", functor::sub, Eigen::half, float, double,
+REGISTER4(BinaryOp, GPU, "Sub", functor::sub, float, Eigen::half, double,
int64);
// A special GPU kernel for int32.