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
In PR #1351 we needed to add self.astensor calls back into the PyTorch backend, which we worked hard to remove in PR #582. This is the result of the public API expecting that you can pass floats and not tensors to the distribution methods and still have things work.
We should change this expectation in the API and docs to make it clear that all inputs must be tensors, and then remove the self.astensor calls.
In PR #1351 we needed to add
self.astensor
calls back into the PyTorch backend, which we worked hard to remove in PR #582. This is the result of the public API expecting that you can pass floats and not tensors to the distribution methods and still have things work.We should change this expectation in the API and docs to make it clear that all inputs must be tensors, and then remove the
self.astensor
calls.Originally posted by @matthewfeickert in #1351 (comment)
The text was updated successfully, but these errors were encountered: