summaryrefslogtreecommitdiff
path: root/text_recognizer/networks/vqvae/quantizer.py
diff options
context:
space:
mode:
Diffstat (limited to 'text_recognizer/networks/vqvae/quantizer.py')
-rw-r--r--text_recognizer/networks/vqvae/quantizer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/text_recognizer/networks/vqvae/quantizer.py b/text_recognizer/networks/vqvae/quantizer.py
index 1b59e78..a4f11f0 100644
--- a/text_recognizer/networks/vqvae/quantizer.py
+++ b/text_recognizer/networks/vqvae/quantizer.py
@@ -7,7 +7,7 @@ from einops import rearrange
import torch
from torch import nn
from torch import Tensor
-from torch.nn import functional as F
+import torch.nn.functional as F
class EmbeddingEMA(nn.Module):