Skip to content

Commit

Permalink
Fix: Wrong codomain in LeakyReLUTransform (#3270)
Browse files Browse the repository at this point in the history
  • Loading branch information
MeenuyD committed Sep 20, 2023
1 parent 3b6cae3 commit 01ccf36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyro/distributions/transforms/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class LeakyReLUTransform(Transform):
Bijective transform via the mapping :math:`y = \text{LeakyReLU}(x)`.
"""
domain = constraints.real
codomain = constraints.positive
codomain = constraints.real
bijective = True
sign = +1

Expand Down

0 comments on commit 01ccf36

Please sign in to comment.