Shortcuts

mmocr.models.textrecog.encoders.base 源代码

# Copyright (c) OpenMMLab. All rights reserved.
from mmengine.model import BaseModule

from mmocr.registry import MODELS


[文档]@MODELS.register_module() class BaseEncoder(BaseModule): """Base Encoder class for text recognition."""
[文档] def forward(self, feat, **kwargs): return feat
Read the Docs v: latest
Versions
latest
stable
0.x
dev-1.x
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.