Update ops-related pbtxt files.
PiperOrigin-RevId: 323490805
Change-Id: Ia9c319c8e816a40bf6130045c404737db8bd58d4
diff --git a/tensorflow/core/ops/compat/ops_history_v2/OptimizeDatasetV2.pbtxt b/tensorflow/core/ops/compat/ops_history_v2/OptimizeDatasetV2.pbtxt
new file mode 100644
index 0000000..ee43df5
--- /dev/null
+++ b/tensorflow/core/ops/compat/ops_history_v2/OptimizeDatasetV2.pbtxt
@@ -0,0 +1,43 @@
+op {
+ name: "OptimizeDatasetV2"
+ input_arg {
+ name: "input_dataset"
+ type: DT_VARIANT
+ }
+ input_arg {
+ name: "optimizations_enabled"
+ type: DT_STRING
+ }
+ input_arg {
+ name: "optimizations_disabled"
+ type: DT_STRING
+ }
+ input_arg {
+ name: "optimizations_default"
+ type: DT_STRING
+ }
+ output_arg {
+ name: "handle"
+ type: DT_VARIANT
+ }
+ attr {
+ name: "output_types"
+ type: "list(type)"
+ has_minimum: true
+ minimum: 1
+ }
+ attr {
+ name: "output_shapes"
+ type: "list(shape)"
+ has_minimum: true
+ minimum: 1
+ }
+ attr {
+ name: "optimization_configs"
+ type: "list(string)"
+ default_value {
+ list {
+ }
+ }
+ }
+}
diff --git a/tensorflow/core/ops/ops.pbtxt b/tensorflow/core/ops/ops.pbtxt
index fed598b..a9a9458 100644
--- a/tensorflow/core/ops/ops.pbtxt
+++ b/tensorflow/core/ops/ops.pbtxt
@@ -26318,6 +26318,49 @@
}
}
op {
+ name: "OptimizeDatasetV2"
+ input_arg {
+ name: "input_dataset"
+ type: DT_VARIANT
+ }
+ input_arg {
+ name: "optimizations_enabled"
+ type: DT_STRING
+ }
+ input_arg {
+ name: "optimizations_disabled"
+ type: DT_STRING
+ }
+ input_arg {
+ name: "optimizations_default"
+ type: DT_STRING
+ }
+ output_arg {
+ name: "handle"
+ type: DT_VARIANT
+ }
+ attr {
+ name: "output_types"
+ type: "list(type)"
+ has_minimum: true
+ minimum: 1
+ }
+ attr {
+ name: "output_shapes"
+ type: "list(shape)"
+ has_minimum: true
+ minimum: 1
+ }
+ attr {
+ name: "optimization_configs"
+ type: "list(string)"
+ default_value {
+ list {
+ }
+ }
+ }
+}
+op {
name: "OptionalFromValue"
input_arg {
name: "components"