Skip to content

Commit

Permalink
parameter name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ordabayevy committed Sep 19, 2024
1 parent 57f81b7 commit a19d51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyro/distributions/transforms/householder.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, u_unnormed=None):
# Construct normalized vectors for Householder transform
def u(self):
u_unnormed = self.u_unnormed() if callable(self.u_unnormed) else self.u_unnormed
norm = torch.linalg.norm(u_unnormed, p=2, dim=-1, keepdim=True)
norm = torch.linalg.norm(u_unnormed, ord=2, dim=-1, keepdim=True)
return torch.div(u_unnormed, norm)

def _call(self, x):
Expand Down

0 comments on commit a19d51d

Please sign in to comment.