diff options
author | 2017-05-29 08:42:33 -0700 | |
---|---|---|
committer | 2017-05-29 08:46:10 -0700 | |
commit | e9d2fba8f1c93ece99b6e2ad45c5237404af3f6d (patch) | |
tree | 43bee2be7706da66c23698201bd493bcb8a21d68 | |
parent | 5f097217f4e7991d609828721a4b26122c7c1058 (diff) |
Fix comment describing ignore_longer_outputs_than_inputs.
PiperOrigin-RevId: 157400110
-rw-r--r-- | tensorflow/core/ops/ctc_ops.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/core/ops/ctc_ops.cc b/tensorflow/core/ops/ctc_ops.cc index 3d8c533935..1a69106d80 100644 --- a/tensorflow/core/ops/ctc_ops.cc +++ b/tensorflow/core/ops/ctc_ops.cc @@ -77,8 +77,8 @@ ctc_merge_repeated: Scalar. If set to false, *during* CTC calculation repeated non-blank labels will not be merged and are interpreted as individual labels. This is a simplified version of CTC. ignore_longer_outputs_than_inputs: Scalar. If set to true, during CTC - calculation items have longer input sequences than output sequences - are ignored by returning zero-gradient for those items. + calculation, items that have longer output sequences than input sequences + are skipped: they don't contribute to the loss term and have zero-gradient. loss: A vector (batch) containing log-probabilities. gradient: The gradient of `loss`. 3-D, shape: `(max_time x batch_size x num_classes)`. |