From 4bb1fbfc511018e773f051f5ace50721256685f6 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 18 Dec 2019 17:56:16 -0800 Subject: [PATCH] Update ops-related pbtxt files. PiperOrigin-RevId: 286302425 Change-Id: I9f4e7e7b4c2c12ce1abe2fc1b176dd418944d02b --- .../ops_history_v1/SnapshotDataset.pbtxt | 125 ++++++++++++++++++ tensorflow/core/ops/ops.pbtxt | 14 ++ 2 files changed, 139 insertions(+) diff --git a/tensorflow/core/ops/compat/ops_history_v1/SnapshotDataset.pbtxt b/tensorflow/core/ops/compat/ops_history_v1/SnapshotDataset.pbtxt index 44d766d7618..4b55615e3bc 100644 --- a/tensorflow/core/ops/compat/ops_history_v1/SnapshotDataset.pbtxt +++ b/tensorflow/core/ops/compat/ops_history_v1/SnapshotDataset.pbtxt @@ -385,3 +385,128 @@ op { } } } +op { + name: "SnapshotDataset" + input_arg { + name: "input_dataset" + type: DT_VARIANT + } + input_arg { + name: "path" + 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: "compression" + type: "string" + default_value { + s: "" + } + } + attr { + name: "reader_path_prefix" + type: "string" + default_value { + s: "" + } + } + attr { + name: "writer_path_prefix" + type: "string" + default_value { + s: "" + } + } + attr { + name: "shard_size_bytes" + type: "int" + default_value { + i: 10737418240 + } + } + attr { + name: "pending_snapshot_expiry_seconds" + type: "int" + default_value { + i: 86400 + } + } + attr { + name: "num_reader_threads" + type: "int" + default_value { + i: 1 + } + } + attr { + name: "reader_buffer_size" + type: "int" + default_value { + i: 1 + } + } + attr { + name: "num_writer_threads" + type: "int" + default_value { + i: 1 + } + } + attr { + name: "writer_buffer_size" + type: "int" + default_value { + i: 1 + } + } + attr { + name: "shuffle_on_read" + type: "bool" + default_value { + b: false + } + } + attr { + name: "seed" + type: "int" + default_value { + i: 0 + } + } + attr { + name: "seed2" + type: "int" + default_value { + i: 0 + } + } + attr { + name: "mode" + type: "string" + default_value { + s: "auto" + } + } + attr { + name: "snapshot_name" + type: "string" + default_value { + s: "" + } + } +} diff --git a/tensorflow/core/ops/ops.pbtxt b/tensorflow/core/ops/ops.pbtxt index 6f07a4b91c1..bdd7fe77278 100644 --- a/tensorflow/core/ops/ops.pbtxt +++ b/tensorflow/core/ops/ops.pbtxt @@ -41345,6 +41345,20 @@ op { i: 0 } } + attr { + name: "mode" + type: "string" + default_value { + s: "auto" + } + } + attr { + name: "snapshot_name" + type: "string" + default_value { + s: "" + } + } } op { name: "Softmax" -- GitLab