diff options
author | 2017-05-15 10:48:56 -0700 | |
---|---|---|
committer | 2017-05-15 10:53:45 -0700 | |
commit | d5b91405c0641e2067f7bb6a6c57e74b2a884418 (patch) | |
tree | d1c6251008a181140b83c176579ddb866daf567b | |
parent | 0b50067a21e8d7293ec1ac6f0c4144930dc1cae5 (diff) |
Update ops-related pbtxt files.
PiperOrigin-RevId: 156073803
-rw-r--r-- | tensorflow/core/ops/compat/ops_history.v1.pbtxt | 73 | ||||
-rw-r--r-- | tensorflow/core/ops/ops.pbtxt | 75 |
2 files changed, 148 insertions, 0 deletions
diff --git a/tensorflow/core/ops/compat/ops_history.v1.pbtxt b/tensorflow/core/ops/compat/ops_history.v1.pbtxt index 75fabe1606..5dd18d4ba3 100644 --- a/tensorflow/core/ops/compat/ops_history.v1.pbtxt +++ b/tensorflow/core/ops/compat/ops_history.v1.pbtxt @@ -18421,6 +18421,79 @@ op { is_stateful: true } op { + name: "ResourceStridedSliceAssign" + input_arg { + name: "ref" + type: DT_RESOURCE + } + input_arg { + name: "begin" + type_attr: "Index" + } + input_arg { + name: "end" + type_attr: "Index" + } + input_arg { + name: "strides" + type_attr: "Index" + } + input_arg { + name: "value" + type_attr: "T" + } + attr { + name: "T" + type: "type" + } + attr { + name: "Index" + type: "type" + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "begin_mask" + type: "int" + default_value { + i: 0 + } + } + attr { + name: "end_mask" + type: "int" + default_value { + i: 0 + } + } + attr { + name: "ellipsis_mask" + type: "int" + default_value { + i: 0 + } + } + attr { + name: "new_axis_mask" + type: "int" + default_value { + i: 0 + } + } + attr { + name: "shrink_axis_mask" + type: "int" + default_value { + i: 0 + } + } + is_stateful: true +} +op { name: "Restore" input_arg { name: "file_pattern" diff --git a/tensorflow/core/ops/ops.pbtxt b/tensorflow/core/ops/ops.pbtxt index 8cbebb0041..8079555128 100644 --- a/tensorflow/core/ops/ops.pbtxt +++ b/tensorflow/core/ops/ops.pbtxt @@ -18873,6 +18873,81 @@ op { is_stateful: true } op { + name: "ResourceStridedSliceAssign" + input_arg { + name: "ref" + type: DT_RESOURCE + } + input_arg { + name: "begin" + type_attr: "Index" + } + input_arg { + name: "end" + type_attr: "Index" + } + input_arg { + name: "strides" + type_attr: "Index" + } + input_arg { + name: "value" + type_attr: "T" + } + attr { + name: "T" + type: "type" + } + attr { + name: "Index" + type: "type" + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "begin_mask" + type: "int" + default_value { + i: 0 + } + } + attr { + name: "end_mask" + type: "int" + default_value { + i: 0 + } + } + attr { + name: "ellipsis_mask" + type: "int" + default_value { + i: 0 + } + } + attr { + name: "new_axis_mask" + type: "int" + default_value { + i: 0 + } + } + attr { + name: "shrink_axis_mask" + type: "int" + default_value { + i: 0 + } + } + summary: "Assign `value` to the sliced l-value reference of `ref`." + description: "The values of `value` are assigned to the positions in the variable\n`ref` that are selected by the slice parameters. The slice parameters\n`begin, `end`, `strides`, etc. work exactly as in `StridedSlice`.\n\nNOTE this op currently does not support broadcasting and so `value`\'s\nshape must be exactly the shape produced by the slice of `ref`." + is_stateful: true +} +op { name: "Restore" input_arg { name: "file_pattern" |