Fix comment describing ignore_longer_outputs_than_inputs.
PiperOrigin-RevId: 157400110
This commit is contained in:
parent
5f097217f4
commit
e9d2fba8f1
@ -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
|
repeated non-blank labels will not be merged and are interpreted as
|
||||||
individual labels. This is a simplified version of CTC.
|
individual labels. This is a simplified version of CTC.
|
||||||
ignore_longer_outputs_than_inputs: Scalar. If set to true, during CTC
|
ignore_longer_outputs_than_inputs: Scalar. If set to true, during CTC
|
||||||
calculation items have longer input sequences than output sequences
|
calculation, items that have longer output sequences than input sequences
|
||||||
are ignored by returning zero-gradient for those items.
|
are skipped: they don't contribute to the loss term and have zero-gradient.
|
||||||
loss: A vector (batch) containing log-probabilities.
|
loss: A vector (batch) containing log-probabilities.
|
||||||
gradient: The gradient of `loss`. 3-D, shape:
|
gradient: The gradient of `loss`. 3-D, shape:
|
||||||
`(max_time x batch_size x num_classes)`.
|
`(max_time x batch_size x num_classes)`.
|
||||||
|
Loading…
Reference in New Issue
Block a user