diff --git a/tensorflow/core/ops/compat/ops_history_v2/AsString.pbtxt b/tensorflow/core/ops/compat/ops_history_v2/AsString.pbtxt index 2bbf48d1164..9a09128edcc 100644 --- a/tensorflow/core/ops/compat/ops_history_v2/AsString.pbtxt +++ b/tensorflow/core/ops/compat/ops_history_v2/AsString.pbtxt @@ -184,3 +184,67 @@ op { } } } +op { + name: "AsString" + input_arg { + name: "input" + type_attr: "T" + } + output_arg { + name: "output" + type: DT_STRING + } + attr { + name: "T" + type: "type" + allowed_values { + list { + type: DT_INT8 + type: DT_INT16 + type: DT_INT32 + type: DT_INT64 + type: DT_COMPLEX64 + type: DT_COMPLEX128 + type: DT_FLOAT + type: DT_DOUBLE + type: DT_BOOL + type: DT_VARIANT + } + } + } + attr { + name: "precision" + type: "int" + default_value { + i: -1 + } + } + attr { + name: "scientific" + type: "bool" + default_value { + b: false + } + } + attr { + name: "shortest" + type: "bool" + default_value { + b: false + } + } + attr { + name: "width" + type: "int" + default_value { + i: -1 + } + } + attr { + name: "fill" + type: "string" + default_value { + s: "" + } + } +} diff --git a/tensorflow/core/ops/ops.pbtxt b/tensorflow/core/ops/ops.pbtxt index d84336796f8..09d8bf7224b 100644 --- a/tensorflow/core/ops/ops.pbtxt +++ b/tensorflow/core/ops/ops.pbtxt @@ -2278,6 +2278,7 @@ op { type: DT_FLOAT type: DT_DOUBLE type: DT_BOOL + type: DT_VARIANT } } }