From 38dc6ca3b787bcdb54d43ac5c076e08af25d44b2 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 7 Jun 2022 00:24:28 +0200 Subject: Add subsampler layer --- text_recognizer/networks/transformer/__init__.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'text_recognizer/networks/transformer') 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, +) -- cgit v1.2.3-70-g09d2