From 5bbbec1f7021c2451099eb0d1e00a330275d1e16 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 29 Jan 2023 21:16:22 +0100 Subject: Update import --- text_recognizer/networks/convnext/attention.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text_recognizer/networks/convnext/attention.py') 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 -- cgit v1.2.3-70-g09d2