You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stepping through the code, it seems as though pyro.distributions.transforms.cholesky.CorrLCholeskyTransform doesn't implement the inverse_shape method, whereas torch does with torch.distributions.transforms.CorrCholeskyTransform. This results in pyro returning an event shape corresponding to torch.Size([2]), wheras torch returns torch.Size([1]).
The text was updated successfully, but these errors were encountered:
It looks like pyro.distributions.transforms.cholesky.CorrLCholeskyTransform should be deprecated in favor of torch.distributions.transforms.CorrCholeskyTransform. Is that true @fritzo@fehiepsi?
Issue Description
Event shape of inverse transform of
LKJCholesky
seems to differ from torch's, and of samples from distribution.Environment
Code Snippet
Stepping through the code, it seems as though
pyro.distributions.transforms.cholesky.CorrLCholeskyTransform
doesn't implement theinverse_shape
method, whereas torch does withtorch.distributions.transforms.CorrCholeskyTransform
. This results in pyro returning an event shape corresponding totorch.Size([2])
, wheras torch returnstorch.Size([1])
.The text was updated successfully, but these errors were encountered: