Download mmocr/models/common/modules/__init__.py from heboya8/MMOCR: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/heboya8/MMOCR/resolve/main/mmocr/models/common/modules/__init__.py
- Command line
-
hf download hf://spaces/heboya8/MMOCR/mmocr/models/common/modules/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/heboya8/MMOCR/resolve/main/mmocr/models/common/modules/__init__.py
361 Bytes
| # Copyright (c) OpenMMLab. All rights reserved. | |
| from .transformer_module import (MultiHeadAttention, PositionalEncoding, | |
| PositionwiseFeedForward, | |
| ScaledDotProductAttention) | |
| __all__ = [ | |
| 'ScaledDotProductAttention', 'MultiHeadAttention', | |
| 'PositionwiseFeedForward', 'PositionalEncoding' | |
| ] | |