diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-06-07 00:24:28 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-06-07 00:24:28 +0200 |
commit | 38dc6ca3b787bcdb54d43ac5c076e08af25d44b2 (patch) | |
tree | df12ee98c797c44c61f02369cf8cb794d6f47b7c /text_recognizer/networks/transformer | |
parent | 7d759b6c0efcb58b5c7c6858d7dcbd2060992430 (diff) |
Add subsampler layer
Diffstat (limited to 'text_recognizer/networks/transformer')
-rw-r--r-- | text_recognizer/networks/transformer/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/text_recognizer/networks/transformer/__init__.py b/text_recognizer/networks/transformer/__init__.py index 041d257..d867800 100644 --- a/text_recognizer/networks/transformer/__init__.py +++ b/text_recognizer/networks/transformer/__init__.py @@ -1,3 +1,6 @@ """Transformer modules.""" from text_recognizer.networks.transformer.embeddings.rotary import RotaryEmbedding from text_recognizer.networks.transformer.attention import Attention +from text_recognizer.networks.transformer.embeddings.axial import ( + AxialPositionalEmbedding, +) |