public static class
CTCLossV2.Options
Optional attributes for
CTCLossV2
Public Methods
CTCLossV2.Options |
ctcMergeRepeated
(Boolean ctcMergeRepeated)
|
CTCLossV2.Options |
ignoreLongerOutputsThanInputs
(Boolean ignoreLongerOutputsThanInputs)
|
CTCLossV2.Options |
preprocessCollapseRepeated
(Boolean preprocessCollapseRepeated)
|
Inherited Methods
Public Methods
public CTCLossV2.Options ctcMergeRepeated (Boolean ctcMergeRepeated)
Parameters
ctcMergeRepeated | 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. |
---|
public CTCLossV2.Options ignoreLongerOutputsThanInputs (Boolean ignoreLongerOutputsThanInputs)
Parameters
ignoreLongerOutputsThanInputs | Scalar. If set to true, during CTC calculation, items that have longer output sequences than input sequences are skipped: they don't contribute to the loss term and have zero-gradient. |
---|
public CTCLossV2.Options preprocessCollapseRepeated (Boolean preprocessCollapseRepeated)
Parameters
preprocessCollapseRepeated | Scalar, if true then repeated labels are collapsed prior to the CTC calculation. |
---|