From 0e18a225ebbd73e3519f70b22f1771ea30873a68 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Fri, 1 Mar 2019 22:19:25 -0800 Subject: [PATCH] Update ops-related pbtxt files. PiperOrigin-RevId: 236428215 --- .../core/ops/compat/ops_history.v1.pbtxt | 170 ++++++++++++++++++ tensorflow/core/ops/ops.pbtxt | 90 +++++++++- 2 files changed, 254 insertions(+), 6 deletions(-) diff --git a/tensorflow/core/ops/compat/ops_history.v1.pbtxt b/tensorflow/core/ops/compat/ops_history.v1.pbtxt index d4de4397571..cee20802d14 100644 --- a/tensorflow/core/ops/compat/ops_history.v1.pbtxt +++ b/tensorflow/core/ops/compat/ops_history.v1.pbtxt @@ -22251,6 +22251,89 @@ op { } is_stateful: true } +op { + name: "EnqueueTPUEmbeddingSparseBatch" + input_arg { + name: "sample_indices" + type_attr: "T1" + number_attr: "N" + } + input_arg { + name: "embedding_indices" + type_attr: "T2" + number_attr: "N" + } + input_arg { + name: "aggregation_weights" + type_attr: "T3" + number_attr: "N" + } + input_arg { + name: "mode_override" + type: DT_STRING + } + attr { + name: "T1" + type: "type" + default_value { + type: DT_INT32 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "T2" + type: "type" + default_value { + type: DT_INT32 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "T3" + type: "type" + default_value { + type: DT_FLOAT + } + allowed_values { + list { + type: DT_FLOAT + type: DT_DOUBLE + } + } + } + attr { + name: "N" + type: "int" + has_minimum: true + minimum: 1 + } + attr { + name: "device_ordinal" + type: "int" + default_value { + i: -1 + } + } + attr { + name: "combiners" + type: "list(string)" + default_value { + list { + } + } + } + is_stateful: true +} op { name: "EnqueueTPUEmbeddingSparseTensorBatch" input_arg { @@ -22299,6 +22382,93 @@ op { } is_stateful: true } +op { + name: "EnqueueTPUEmbeddingSparseTensorBatch" + input_arg { + name: "sample_indices" + type_attr: "T1" + number_attr: "N" + } + input_arg { + name: "embedding_indices" + type_attr: "T2" + number_attr: "N" + } + input_arg { + name: "aggregation_weights" + type_attr: "T3" + number_attr: "N" + } + input_arg { + name: "mode_override" + type: DT_STRING + } + attr { + name: "T1" + type: "type" + default_value { + type: DT_INT32 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "T2" + type: "type" + default_value { + type: DT_INT32 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "T3" + type: "type" + default_value { + type: DT_FLOAT + } + allowed_values { + list { + type: DT_FLOAT + type: DT_DOUBLE + } + } + } + attr { + name: "N" + type: "int" + has_minimum: true + minimum: 1 + } + attr { + name: "device_ordinal" + type: "int" + default_value { + i: -1 + } + } + attr { + name: "combiners" + type: "list(string)" + default_value { + list { + } + } + } + attr { + name: "table_ids" + type: "list(int)" + } + is_stateful: true +} op { name: "EnsureShape" input_arg { diff --git a/tensorflow/core/ops/ops.pbtxt b/tensorflow/core/ops/ops.pbtxt index 380aea074a8..f632f2c5f3a 100644 --- a/tensorflow/core/ops/ops.pbtxt +++ b/tensorflow/core/ops/ops.pbtxt @@ -10421,23 +10421,62 @@ op { name: "EnqueueTPUEmbeddingSparseBatch" input_arg { name: "sample_indices" - type: DT_INT32 + type_attr: "T1" number_attr: "N" } input_arg { name: "embedding_indices" - type: DT_INT32 + type_attr: "T2" number_attr: "N" } input_arg { name: "aggregation_weights" - type: DT_FLOAT + type_attr: "T3" number_attr: "N" } input_arg { name: "mode_override" type: DT_STRING } + attr { + name: "T1" + type: "type" + default_value { + type: DT_INT32 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "T2" + type: "type" + default_value { + type: DT_INT32 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "T3" + type: "type" + default_value { + type: DT_FLOAT + } + allowed_values { + list { + type: DT_FLOAT + type: DT_DOUBLE + } + } + } attr { name: "N" type: "int" @@ -10465,23 +10504,62 @@ op { name: "EnqueueTPUEmbeddingSparseTensorBatch" input_arg { name: "sample_indices" - type: DT_INT32 + type_attr: "T1" number_attr: "N" } input_arg { name: "embedding_indices" - type: DT_INT32 + type_attr: "T2" number_attr: "N" } input_arg { name: "aggregation_weights" - type: DT_FLOAT + type_attr: "T3" number_attr: "N" } input_arg { name: "mode_override" type: DT_STRING } + attr { + name: "T1" + type: "type" + default_value { + type: DT_INT32 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "T2" + type: "type" + default_value { + type: DT_INT32 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "T3" + type: "type" + default_value { + type: DT_FLOAT + } + allowed_values { + list { + type: DT_FLOAT + type: DT_DOUBLE + } + } + } attr { name: "N" type: "int"