Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume "Vermeille" Sanchez committed Sep 4, 2024
1 parent 5c6c3da commit 0ebc106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchelie/nn/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def forward(self, x):
out = tchf.unit_gaussian_prior(mu, sigma, strength)
return out if not self.return_std else (out, sigma)
else:
return mu if not self.return_std else (mu, sigma
return mu if not self.return_std else (mu, sigma)


class InformationBottleneck(UnitGaussianPrior):
Expand Down

0 comments on commit 0ebc106

Please sign in to comment.