Mountchicken's picture
Upload 704 files
9bf4bd7
raw
history blame
208 Bytes
# Copyright (c) OpenMMLab. All rights reserved.
import torch.nn as nn
from mmocr.registry import MODELS
@MODELS.register_module()
class CrossEntropyLoss(nn.CrossEntropyLoss):
"""Cross entropy loss."""