From fbbc6a2dc533c480059dd8b621ff5abef349b593 Mon Sep 17 00:00:00 2001 From: Jordan Gong Date: Thu, 24 Dec 2020 18:51:33 +0800 Subject: Optimize imports --- models/auto_encoder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models/auto_encoder.py') 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 -- cgit v1.2.3