summaryrefslogtreecommitdiff
path: root/models/auto_encoder.py
diff options
context:
space:
mode:
Diffstat (limited to 'models/auto_encoder.py')
-rw-r--r--models/auto_encoder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/auto_encoder.py b/models/auto_encoder.py
index 64c52e3..0c247f1 100644
--- a/models/auto_encoder.py
+++ b/models/auto_encoder.py
@@ -126,7 +126,7 @@ class AutoEncoder(nn.Module):
f_c_dim = embedding_dims[1]
self.classifier = nn.Sequential(
- nn.LeakyReLU(0.2, inplace=True),
+ nn.LeakyReLU(0.2),
BasicLinear(f_c_dim, num_class)
)