Shortcuts

CrossEntropyLoss

class mmocr.models.common.CrossEntropyLoss(weight=None, size_average=None, ignore_index=- 100, reduce=None, reduction='mean', label_smoothing=0.0)[source]

Cross entropy loss.

Parameters
Return type

None