diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-06-26 11:34:13 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-06-26 11:38:12 -0700 |
commit | 9b2984d985357a02b39baa495b8d7c0fe9475377 (patch) | |
tree | 6f1a7c66feac304e46227f1f754806be13b411b7 | |
parent | d778904d942dcfcda8d21fe990cbb4e20102cfe9 (diff) |
Update ops-related pbtxt files.
PiperOrigin-RevId: 160171187
-rw-r--r-- | tensorflow/core/ops/compat/ops_history.v1.pbtxt | 126 | ||||
-rw-r--r-- | tensorflow/core/ops/ops.pbtxt | 34 |
2 files changed, 156 insertions, 4 deletions
diff --git a/tensorflow/core/ops/compat/ops_history.v1.pbtxt b/tensorflow/core/ops/compat/ops_history.v1.pbtxt index edc21b6029..cabd91f9ef 100644 --- a/tensorflow/core/ops/compat/ops_history.v1.pbtxt +++ b/tensorflow/core/ops/compat/ops_history.v1.pbtxt @@ -1541,6 +1541,69 @@ op { } } op { + name: "ArgMax" + input_arg { + name: "input" + type_attr: "T" + } + input_arg { + name: "dimension" + type_attr: "Tidx" + } + output_arg { + name: "output" + type_attr: "output_type" + } + attr { + name: "T" + type: "type" + allowed_values { + list { + type: DT_FLOAT + type: DT_DOUBLE + type: DT_INT64 + type: DT_INT32 + type: DT_UINT8 + type: DT_UINT16 + type: DT_INT16 + type: DT_INT8 + type: DT_COMPLEX64 + type: DT_COMPLEX128 + type: DT_QINT8 + type: DT_QUINT8 + type: DT_QINT32 + type: DT_HALF + } + } + } + attr { + name: "Tidx" + type: "type" + default_value { + type: DT_INT32 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "output_type" + type: "type" + default_value { + type: DT_INT64 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } +} +op { name: "ArgMin" input_arg { name: "input" @@ -1591,6 +1654,69 @@ op { } } op { + name: "ArgMin" + input_arg { + name: "input" + type_attr: "T" + } + input_arg { + name: "dimension" + type_attr: "Tidx" + } + output_arg { + name: "output" + type_attr: "output_type" + } + attr { + name: "T" + type: "type" + allowed_values { + list { + type: DT_FLOAT + type: DT_DOUBLE + type: DT_INT64 + type: DT_INT32 + type: DT_UINT8 + type: DT_UINT16 + type: DT_INT16 + type: DT_INT8 + type: DT_COMPLEX64 + type: DT_COMPLEX128 + type: DT_QINT8 + type: DT_QUINT8 + type: DT_QINT32 + type: DT_HALF + } + } + } + attr { + name: "Tidx" + type: "type" + default_value { + type: DT_INT32 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "output_type" + type: "type" + default_value { + type: DT_INT64 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } +} +op { name: "AsString" input_arg { name: "input" diff --git a/tensorflow/core/ops/ops.pbtxt b/tensorflow/core/ops/ops.pbtxt index ddaaed4396..b122b5a992 100644 --- a/tensorflow/core/ops/ops.pbtxt +++ b/tensorflow/core/ops/ops.pbtxt @@ -1578,12 +1578,12 @@ op { } input_arg { name: "dimension" - description: "int32, 0 <= dimension < rank(input). Describes which dimension\nof the input Tensor to reduce across. For vectors, use dimension = 0." + description: "int32 or int64, 0 <= dimension < rank(input). Describes\nwhich dimension of the input Tensor to reduce across. For vectors,\nuse dimension = 0." type_attr: "Tidx" } output_arg { name: "output" - type: DT_INT64 + type_attr: "output_type" } attr { name: "T" @@ -1620,6 +1620,19 @@ op { } } } + attr { + name: "output_type" + type: "type" + default_value { + type: DT_INT64 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } summary: "Returns the index with the largest value across dimensions of a tensor." description: "Note that in case of ties the identity of the return value is not guaranteed." } @@ -1631,12 +1644,12 @@ op { } input_arg { name: "dimension" - description: "int32, 0 <= dimension < rank(input). Describes which dimension\nof the input Tensor to reduce across. For vectors, use dimension = 0." + description: "int32 or int64, 0 <= dimension < rank(input). Describes\nwhich dimension of the input Tensor to reduce across. For vectors,\nuse dimension = 0." type_attr: "Tidx" } output_arg { name: "output" - type: DT_INT64 + type_attr: "output_type" } attr { name: "T" @@ -1673,6 +1686,19 @@ op { } } } + attr { + name: "output_type" + type: "type" + default_value { + type: DT_INT64 + } + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } summary: "Returns the index with the smallest value across dimensions of a tensor." description: "Note that in case of ties the identity of the return value is not guaranteed." } |