aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/cc/ops
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <nobody@tensorflow.org>2016-03-29 01:58:48 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-03-29 03:05:12 -0700
commit160ac73d25e30694f410c7020889536d4860689c (patch)
tree8817287dd828877462e45f82f5952cefb1b13a33 /tensorflow/cc/ops
parentb6d66ffda925bad1741aee0cee1e07d3546364ac (diff)
Add half support for the first basic ops, namely Cast and Const.
Change: 118445579
Diffstat (limited to 'tensorflow/cc/ops')
-rw-r--r--tensorflow/cc/ops/const_op.cc2
-rw-r--r--tensorflow/cc/ops/const_op.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/tensorflow/cc/ops/const_op.cc b/tensorflow/cc/ops/const_op.cc
index 5f5680e54e..ddfa2a5b0e 100644
--- a/tensorflow/cc/ops/const_op.cc
+++ b/tensorflow/cc/ops/const_op.cc
@@ -84,8 +84,6 @@ DEFINE_CONST(int8, int_val);
DEFINE_CONST(int64, int64_val);
DEFINE_CONST(bool, bool_val);
-DEFINE_CONST_IMPL(Eigen::half, proto.add_half_val(t.begin()->x));
-
DEFINE_CONST_IMPL(complex64, proto.add_scomplex_val(t.begin()->real());
proto.add_scomplex_val(t.begin()->imag()););
diff --git a/tensorflow/cc/ops/const_op.h b/tensorflow/cc/ops/const_op.h
index f29e2ab3da..0a1ee3f1e0 100644
--- a/tensorflow/cc/ops/const_op.h
+++ b/tensorflow/cc/ops/const_op.h
@@ -42,7 +42,6 @@ namespace ops {
return Const(gtl::ArraySlice<TYPE>(t), shape, options); \
}
-DECLARE_CONST(Eigen::half);
DECLARE_CONST(float);
DECLARE_CONST(double);
DECLARE_CONST(int32);