summaryrefslogtreecommitdiff
path: root/text_recognizer/networks
diff options
context:
space:
mode:
Diffstat (limited to 'text_recognizer/networks')
-rw-r--r--text_recognizer/networks/convnext/attention.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/text_recognizer/networks/convnext/attention.py b/text_recognizer/networks/convnext/attention.py
index a373c37..1334feb 100644
--- a/text_recognizer/networks/convnext/attention.py
+++ b/text_recognizer/networks/convnext/attention.py
@@ -1,7 +1,7 @@
"""Convolution self attention block."""
import torch.nn.functional as F
-from einops import rearrange, reduce
+from einops import rearrange
from torch import Tensor, einsum, nn
from text_recognizer.networks.convnext.norm import LayerNorm