espnet.nets.e2e_asr_common.label_smoothing_dist
Less than 1 minute
espnet.nets.e2e_asr_common.label_smoothing_dist
espnet.nets.e2e_asr_common.label_smoothing_dist(odim, lsm_type, transcript=None, blank=0)
Obtain label distribution for loss smoothing.
- Parameters:
- odim
- lsm_type
- blank
- transcript
- Returns: