diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-05-01 10:33:33 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-05-01 11:52:16 -0700 |
commit | 24b049877b8a056200f1c0d125d345c0af637aa1 (patch) | |
tree | 882152c661dca0ef26c0c374a0f1b49baea05c5d /tensorflow | |
parent | 0d0a36aa3c6ab72ef91a02f7ab301bafcd3bdf60 (diff) |
Update ops-related pbtxt files.
Change: 154738165
Diffstat (limited to 'tensorflow')
-rw-r--r-- | tensorflow/core/ops/compat/ops_history.v1.pbtxt | 27 | ||||
-rw-r--r-- | tensorflow/core/ops/ops.pbtxt | 32 |
2 files changed, 59 insertions, 0 deletions
diff --git a/tensorflow/core/ops/compat/ops_history.v1.pbtxt b/tensorflow/core/ops/compat/ops_history.v1.pbtxt index 8434251f53..439b022036 100644 --- a/tensorflow/core/ops/compat/ops_history.v1.pbtxt +++ b/tensorflow/core/ops/compat/ops_history.v1.pbtxt @@ -3593,6 +3593,33 @@ op { } } op { + name: "Bucketize" + input_arg { + name: "input" + type_attr: "T" + } + output_arg { + name: "output" + type: DT_INT32 + } + attr { + name: "T" + type: "type" + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + type: DT_FLOAT + type: DT_DOUBLE + } + } + } + attr { + name: "boundaries" + type: "list(float)" + } +} +op { name: "CTCBeamSearchDecoder" input_arg { name: "inputs" diff --git a/tensorflow/core/ops/ops.pbtxt b/tensorflow/core/ops/ops.pbtxt index bd963a5266..cb313a6c27 100644 --- a/tensorflow/core/ops/ops.pbtxt +++ b/tensorflow/core/ops/ops.pbtxt @@ -3634,6 +3634,38 @@ op { description: "This is typically used by gradient computations for a broadcasting operation." } op { + name: "Bucketize" + input_arg { + name: "input" + description: "Any shape of Tensor contains with int or float type." + type_attr: "T" + } + output_arg { + name: "output" + description: "Same shape with \'input\', each value of input replaced with bucket index.\n\n@compatibility(numpy)\nEquivalent to np.digitize.\n@end_compatibility" + type: DT_INT32 + } + attr { + name: "T" + type: "type" + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + type: DT_FLOAT + type: DT_DOUBLE + } + } + } + attr { + name: "boundaries" + type: "list(float)" + description: "A sorted list of floats gives the boundary of the buckets." + } + summary: "Bucketizes \'input\' based on \'boundaries\'." + description: "For example, if the inputs are\n boundaries = [0, 10, 100]\n input = [[-5, 10000]\n [150, 10]\n [5, 100]]\n\nthen the output will be\n output = [[0, 3]\n [3, 2]\n [1, 3]]" +} +op { name: "CTCBeamSearchDecoder" input_arg { name: "inputs" |