Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzo committed Oct 2, 2019
1 parent e881c24 commit b68c286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyro/distributions/transforms/batch_norm.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class BatchNormTransform(TransformModule):
Example usage:
>>> from pyro.nn import AutoRegressiveNN
>>> from pyro.distributions import InverseAutoregressiveFlow
>>> from pyro.distributions.transforms import InverseAutoregressiveFlow
>>> base_dist = dist.Normal(torch.zeros(10), torch.ones(10))
>>> iafs = [InverseAutoregressiveFlow(AutoRegressiveNN(10, [40])) for _ in range(2)]
>>> bn = BatchNormTransform(10)
Expand Down
2 changes: 1 addition & 1 deletion pyro/distributions/transforms/permute.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class PermuteTransform(Transform):
Example usage:
>>> from pyro.nn import AutoRegressiveNN
>>> from pyro.distributions import InverseAutoregressiveFlow, PermuteTransform
>>> from pyro.distributions.transforms import InverseAutoregressiveFlow, PermuteTransform
>>> base_dist = dist.Normal(torch.zeros(10), torch.ones(10))
>>> iaf1 = InverseAutoregressiveFlow(AutoRegressiveNN(10, [40]))
>>> ff = PermuteTransform(torch.randperm(10, dtype=torch.long))
Expand Down

0 comments on commit b68c286

Please sign in to comment.