summaryrefslogtreecommitdiff
path: root/models/auto_encoder.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2020-12-24 18:51:33 +0800
committerJordan Gong <jordan.gong@protonmail.com>2020-12-24 18:56:23 +0800
commitfbbc6a2dc533c480059dd8b621ff5abef349b593 (patch)
treead8eb3c31b7445388bdcfbd6f443bfb34eeb4600 /models/auto_encoder.py
parent4ad6d0af2f4e6868576582e4b86b096a2e95e6fa (diff)
Optimize imports
Diffstat (limited to 'models/auto_encoder.py')
-rw-r--r--models/auto_encoder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/auto_encoder.py b/models/auto_encoder.py
index 6483bd9..4a8aaa5 100644
--- a/models/auto_encoder.py
+++ b/models/auto_encoder.py
@@ -1,6 +1,6 @@
import torch
-from torch import nn as nn
-from torch.nn import functional as F
+import torch.nn as nn
+import torch.nn.functional as F
from models.layers import VGGConv2d, DCGANConvTranspose2d