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
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
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. |
---|