From 81b1778bcf79f8cc3a545ebc875ae2f65f030554 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 20 May 2020 21:18:22 -0700 Subject: [PATCH] Update ops-related pbtxt files. PiperOrigin-RevId: 312612303 Change-Id: I20a2efc1dab991cfd4ae1d464b4876ff7326208b --- .../ops_history_v2/CompressElement.pbtxt | 17 ++++++++ .../ops_history_v2/UncompressElement.pbtxt | 23 +++++++++++ tensorflow/core/ops/ops.pbtxt | 40 +++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 tensorflow/core/ops/compat/ops_history_v2/CompressElement.pbtxt create mode 100644 tensorflow/core/ops/compat/ops_history_v2/UncompressElement.pbtxt diff --git a/tensorflow/core/ops/compat/ops_history_v2/CompressElement.pbtxt b/tensorflow/core/ops/compat/ops_history_v2/CompressElement.pbtxt new file mode 100644 index 00000000000..07d8cb461af --- /dev/null +++ b/tensorflow/core/ops/compat/ops_history_v2/CompressElement.pbtxt @@ -0,0 +1,17 @@ +op { + name: "CompressElement" + input_arg { + name: "components" + type_list_attr: "input_types" + } + output_arg { + name: "compressed" + type: DT_VARIANT + } + attr { + name: "input_types" + type: "list(type)" + has_minimum: true + minimum: 1 + } +} diff --git a/tensorflow/core/ops/compat/ops_history_v2/UncompressElement.pbtxt b/tensorflow/core/ops/compat/ops_history_v2/UncompressElement.pbtxt new file mode 100644 index 00000000000..68406e0e4bc --- /dev/null +++ b/tensorflow/core/ops/compat/ops_history_v2/UncompressElement.pbtxt @@ -0,0 +1,23 @@ +op { + name: "UncompressElement" + input_arg { + name: "compressed" + type: DT_VARIANT + } + output_arg { + name: "components" + type_list_attr: "output_types" + } + attr { + name: "output_types" + type: "list(type)" + has_minimum: true + minimum: 1 + } + attr { + name: "output_shapes" + type: "list(shape)" + has_minimum: true + minimum: 1 + } +} diff --git a/tensorflow/core/ops/ops.pbtxt b/tensorflow/core/ops/ops.pbtxt index c951cb11778..75f8c0dadcb 100644 --- a/tensorflow/core/ops/ops.pbtxt +++ b/tensorflow/core/ops/ops.pbtxt @@ -7451,6 +7451,23 @@ op { } } } +op { + name: "CompressElement" + input_arg { + name: "components" + type_list_attr: "input_types" + } + output_arg { + name: "compressed" + type: DT_VARIANT + } + attr { + name: "input_types" + type: "list(type)" + has_minimum: true + minimum: 1 + } +} op { name: "ComputeAccidentalHits" input_arg { @@ -52662,6 +52679,29 @@ op { type: "type" } } +op { + name: "UncompressElement" + input_arg { + name: "compressed" + type: DT_VARIANT + } + output_arg { + name: "components" + type_list_attr: "output_types" + } + attr { + name: "output_types" + type: "list(type)" + has_minimum: true + minimum: 1 + } + attr { + name: "output_shapes" + type: "list(shape)" + has_minimum: true + minimum: 1 + } +} op { name: "UnicodeDecode" input_arg {