Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 11, 2022
1 parent 31a4cf8 commit 610f0d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/Advanced-Tutorials/autoencoders/mnist-vae.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ def __init__(self, d):
super().__init__()
self.d = d
self.encoder = nn.Sequential(
nn.Linear(784, self.d ** 2), nn.ReLU(), nn.Linear(self.d ** 2, self.d * 2)
nn.Linear(784, self.d**2), nn.ReLU(), nn.Linear(self.d**2, self.d * 2)
)

self.decoder = nn.Sequential(
nn.Linear(self.d, self.d ** 2),
nn.Linear(self.d, self.d**2),
nn.ReLU(),
nn.Linear(self.d ** 2, 784),
nn.Linear(self.d**2, 784),
nn.Sigmoid(),
)

Expand Down

0 comments on commit 610f0d3

Please sign in to comment.