Fix _call not implemented error in call_and_ladj#14
Fix _call not implemented error in call_and_ladj#14francois-rozet merged 6 commits intoprobabilists:masterfrom
_call not implemented error in call_and_ladj#14Conversation
torch.distributions.Transforms
|
Curiously, the test fails if I add |
|
Hello @felixdivo, Thanks for reporting the bug and finding a solution. Could you address my comments before I merge?
This is because As a side note, per the contribution guidelines:
|
torch.distributions.Transforms_call not implemented error in call_and_ladj
Thanks for the hint and sorry for not reading it. I'll follow it from now on. I wasn't aware of it. |
Some transformations do not implement
_call, even some of the Pytorch ones likeComposeTranform.https://github.com/pytorch/pytorch/blob/4869929f32c176dc3e5ea4cd4164b3fd73a0c9ea/torch/distributions/transforms.py#L270-L385
This results in
call_and_ladjraising aNotImplementedError.