From 56666ab5b3d807e4b070c4035e74d645f11ae817 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Sun, 3 Jun 2018 15:14:21 +0000 Subject: Register int16 as supported ops for AsString in string_ops.cc Signed-off-by: Yong Tang --- tensorflow/core/ops/string_ops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tensorflow/core/ops/string_ops.cc') 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") -- cgit v1.2.3