From 9ce21f569ecac03f15f2ad669fde3dd4a512f8cc Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 15 Apr 2024 21:47:54 +0200 Subject: Format --- text_recognizer/network/transformer/embedding/rotary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text_recognizer/network/transformer/embedding/rotary.py') diff --git a/text_recognizer/network/transformer/embedding/rotary.py b/text_recognizer/network/transformer/embedding/rotary.py index 2254f81..7e88264 100644 --- a/text_recognizer/network/transformer/embedding/rotary.py +++ b/text_recognizer/network/transformer/embedding/rotary.py @@ -1,6 +1,6 @@ import torch -from torch import nn, einsum from einops import rearrange +from torch import einsum, nn class RotaryEmbedding(nn.Module): -- cgit v1.2.3-70-g09d2