aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/ops/string_ops.cc
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com>2018-06-03 15:14:21 +0000
committerGravatar Yong Tang <yong.tang.github@outlook.com>2018-06-03 15:14:21 +0000
commit56666ab5b3d807e4b070c4035e74d645f11ae817 (patch)
tree54636e51bedbff31cd2bc709e4346008baa011c1 /tensorflow/core/ops/string_ops.cc
parentc045937787d6dd221e0fac0f040d7bf68b2101be (diff)
Register int16 as supported ops for AsString in string_ops.cc
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'tensorflow/core/ops/string_ops.cc')
-rw-r--r--tensorflow/core/ops/string_ops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/ops/string_ops.cc b/tensorflow/core/ops/string_ops.cc
index 1d5c743a56..03bd4994bd 100644
--- a/tensorflow/core/ops/string_ops.cc
+++ b/tensorflow/core/ops/string_ops.cc
@@ -78,7 +78,7 @@ REGISTER_OP("ReduceJoin")
REGISTER_OP("AsString")
.Input("input: T")
.Output("output: string")
- .Attr("T: {int32, int64, complex64, float, double, bool, int8}")
+ .Attr("T: {int8, int16, int32, int64, complex64, float, double, bool}")
.Attr("precision: int = -1")
.Attr("scientific: bool = false")
.Attr("shortest: bool = false")