Update ops-related pbtxt files.

PiperOrigin-RevId: 158186454
This commit is contained in:
A. Unique TensorFlower 2017-06-06 14:03:40 -07:00 committed by TensorFlower Gardener
parent df5906fb72
commit 3ca6533049
2 changed files with 184 additions and 0 deletions

View File

@ -13031,6 +13031,25 @@ op {
}
}
}
op {
name: "MergeV2Checkpoints"
input_arg {
name: "checkpoint_prefixes"
type: DT_STRING
}
input_arg {
name: "destination_prefix"
type: DT_STRING
}
attr {
name: "delete_old_dirs"
type: "bool"
default_value {
b: true
}
}
is_stateful: true
}
op {
name: "Mfcc"
input_arg {
@ -19847,6 +19866,33 @@ op {
}
}
}
op {
name: "Restore"
input_arg {
name: "file_pattern"
type: DT_STRING
}
input_arg {
name: "tensor_name"
type: DT_STRING
}
output_arg {
name: "tensor"
type_attr: "dt"
}
attr {
name: "dt"
type: "type"
}
attr {
name: "preferred_shard"
type: "int"
default_value {
i: -1
}
}
is_stateful: true
}
op {
name: "RestoreSlice"
input_arg {
@ -19877,6 +19923,37 @@ op {
}
}
}
op {
name: "RestoreSlice"
input_arg {
name: "file_pattern"
type: DT_STRING
}
input_arg {
name: "tensor_name"
type: DT_STRING
}
input_arg {
name: "shape_and_slice"
type: DT_STRING
}
output_arg {
name: "tensor"
type_attr: "dt"
}
attr {
name: "dt"
type: "type"
}
attr {
name: "preferred_shard"
type: "int"
default_value {
i: -1
}
}
is_stateful: true
}
op {
name: "RestoreV2"
input_arg {
@ -19902,6 +19979,32 @@ op {
minimum: 1
}
}
op {
name: "RestoreV2"
input_arg {
name: "prefix"
type: DT_STRING
}
input_arg {
name: "tensor_names"
type: DT_STRING
}
input_arg {
name: "shape_and_slices"
type: DT_STRING
}
output_arg {
name: "tensors"
type_list_attr: "dtypes"
}
attr {
name: "dtypes"
type: "list(type)"
has_minimum: true
minimum: 1
}
is_stateful: true
}
op {
name: "Reverse"
input_arg {
@ -20317,6 +20420,28 @@ op {
minimum: 1
}
}
op {
name: "Save"
input_arg {
name: "filename"
type: DT_STRING
}
input_arg {
name: "tensor_names"
type: DT_STRING
}
input_arg {
name: "data"
type_list_attr: "T"
}
attr {
name: "T"
type: "list(type)"
has_minimum: true
minimum: 1
}
is_stateful: true
}
op {
name: "SaveSlices"
input_arg {
@ -20342,6 +20467,57 @@ op {
minimum: 1
}
}
op {
name: "SaveSlices"
input_arg {
name: "filename"
type: DT_STRING
}
input_arg {
name: "tensor_names"
type: DT_STRING
}
input_arg {
name: "shapes_and_slices"
type: DT_STRING
}
input_arg {
name: "data"
type_list_attr: "T"
}
attr {
name: "T"
type: "list(type)"
has_minimum: true
minimum: 1
}
is_stateful: true
}
op {
name: "SaveV2"
input_arg {
name: "prefix"
type: DT_STRING
}
input_arg {
name: "tensor_names"
type: DT_STRING
}
input_arg {
name: "shape_and_slices"
type: DT_STRING
}
input_arg {
name: "tensors"
type_list_attr: "dtypes"
}
attr {
name: "dtypes"
type: "list(type)"
has_minimum: true
minimum: 1
}
}
op {
name: "SaveV2"
input_arg {
@ -20366,6 +20542,7 @@ op {
has_minimum: true
minimum: 1
}
is_stateful: true
}
op {
name: "ScalarSummary"

View File

@ -12191,6 +12191,7 @@ op {
}
summary: "V2 format specific: merges the metadata files of sharded checkpoints. The"
description: "result is one logical checkpoint, with one physical metadata file and renamed\ndata files.\n\nIntended for \"grouping\" multiple checkpoints in a sharded checkpoint setup.\n\nIf delete_old_dirs is true, attempts to delete recursively the dirname of each\npath in the input checkpoint_prefixes. This is useful when those paths are non\nuser-facing temporary locations."
is_stateful: true
}
op {
name: "Mfcc"
@ -19768,6 +19769,7 @@ op {
}
summary: "Restores a tensor from checkpoint files."
description: "Reads a tensor stored in one or several files. If there are several files (for\ninstance because a tensor was saved as slices), `file_pattern` may contain\nwildcard symbols (`*` and `?`) in the filename portion only, not in the\ndirectory portion.\n\nIf a `file_pattern` matches several files, `preferred_shard` can be used to hint\nin which file the requested tensor is likely to be found. This op will first\nopen the file at index `preferred_shard` in the list of matching files and try\nto restore tensors from that file. Only if some tensors or tensor slices are\nnot found in that first file, then the Op opens all the files. Setting\n`preferred_shard` to match the value passed as the `shard` input\nof a matching `Save` Op may speed up Restore. This attribute only affects\nperformance, not correctness. The default value -1 means files are processed in\norder.\n\nSee also `RestoreSlice`."
is_stateful: true
}
op {
name: "RestoreSlice"
@ -19806,6 +19808,7 @@ op {
}
summary: "Restores a tensor from checkpoint files."
description: "This is like `Restore` except that restored tensor can be listed as filling\nonly a slice of a larger tensor. `shape_and_slice` specifies the shape of the\nlarger tensor and the slice that the restored tensor covers.\n\nThe `shape_and_slice` input has the same format as the\nelements of the `shapes_and_slices` input of the `SaveSlices` op."
is_stateful: true
}
op {
name: "RestoreV2"
@ -19838,6 +19841,7 @@ op {
}
summary: "Restores tensors from a V2 checkpoint."
description: "For backward compatibility with the V1 format, this Op currently allows\nrestoring from a V1 checkpoint as well:\n - This Op first attempts to find the V2 index file pointed to by \"prefix\", and\n if found proceed to read it as a V2 checkpoint;\n - Otherwise the V1 read path is invoked.\nRelying on this behavior is not recommended, as the ability to fall back to read\nV1 might be deprecated and eventually removed.\n\nBy default, restores the named tensors in full. If the caller wishes to restore\nspecific slices of stored tensors, \"shape_and_slices\" should be non-empty\nstrings and correspondingly well-formed.\n\nCallers must ensure all the named tensors are indeed stored in the checkpoint."
is_stateful: true
}
op {
name: "Reverse"
@ -20218,6 +20222,7 @@ op {
}
summary: "Saves the input tensors to disk."
description: "The size of `tensor_names` must match the number of tensors in `data`. `data[i]`\nis written to `filename` with name `tensor_names[i]`.\n\nSee also `SaveSlices`."
is_stateful: true
}
op {
name: "SaveSlices"
@ -20249,6 +20254,7 @@ op {
}
summary: "Saves input tensors slices to disk."
description: "This is like `Save` except that tensors can be listed in the saved file as being\na slice of a larger tensor. `shapes_and_slices` specifies the shape of the\nlarger tensor and the slice that this tensor covers. `shapes_and_slices` must\nhave as many elements as `tensor_names`.\n\nElements of the `shapes_and_slices` input must either be:\n\n* The empty string, in which case the corresponding tensor is\n saved normally.\n* A string of the form `dim0 dim1 ... dimN-1 slice-spec` where the\n `dimI` are the dimensions of the larger tensor and `slice-spec`\n specifies what part is covered by the tensor to save.\n\n`slice-spec` itself is a `:`-separated list: `slice0:slice1:...:sliceN-1`\nwhere each `sliceI` is either:\n\n* The string `-` meaning that the slice covers all indices of this dimension\n* `start,length` where `start` and `length` are integers. In that\n case the slice covers `length` indices starting at `start`.\n\nSee also `Save`."
is_stateful: true
}
op {
name: "SaveV2"
@ -20280,6 +20286,7 @@ op {
}
summary: "Saves tensors in V2 checkpoint format."
description: "By default, saves the named tensors in full. If the caller wishes to save\nspecific slices of full tensors, \"shape_and_slices\" should be non-empty strings\nand correspondingly well-formed."
is_stateful: true
}
op {
name: "ScalarSummary"