aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/saved_tensor_slice_util.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <nobody@tensorflow.org>2016-05-13 07:41:35 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-05-13 08:51:59 -0700
commit228709e2e5bfee4b15b72d23479848fe1ee04152 (patch)
treed99910c8c4ee32447be30bcdcee4e5b602e1d86f /tensorflow/core/util/saved_tensor_slice_util.h
parent569b82a9dac0db63dcdcb0df54f8cd5c59baabe6 (diff)
Extend support for uint16.
Change: 122262298
Diffstat (limited to 'tensorflow/core/util/saved_tensor_slice_util.h')
-rw-r--r--tensorflow/core/util/saved_tensor_slice_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/core/util/saved_tensor_slice_util.h b/tensorflow/core/util/saved_tensor_slice_util.h
index 4167c57ab2..53f74f0eb1 100644
--- a/tensorflow/core/util/saved_tensor_slice_util.h
+++ b/tensorflow/core/util/saved_tensor_slice_util.h
@@ -111,6 +111,7 @@ TENSOR_PROTO_EXTRACT_TYPE_COMPLEX(complex64, scomplex, float);
TENSOR_PROTO_EXTRACT_TYPE_COMPLEX(complex128, dcomplex, double);
TENSOR_PROTO_EXTRACT_TYPE(int32, int, int32);
TENSOR_PROTO_EXTRACT_TYPE(int64, int64, int64);
+TENSOR_PROTO_EXTRACT_TYPE(uint16, int, int32);
TENSOR_PROTO_EXTRACT_TYPE(uint8, int, int32);
TENSOR_PROTO_EXTRACT_TYPE(int8, int, int32);
TENSOR_PROTO_EXTRACT_TYPE(int16, int, int32);