Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update deprecated usage of base_samples with GPyTorchPosterior.rsample (
#339) Summary: Pull Request resolved: #339 The base_samples argument of GPyTorchPosterior.rsample has been deprecated for a while and will soon be reaped. This PR updates the usage to `rsample_from_base_samples`, which does permit the `base_samples` argument. It reshapes the `base_samples` in the same way they were being reshaped by `GPyTorchPosterior.rsample`. A more elegant fix would be to deprecate the `base_samples` argument to `SemiPPosterior.rsample` so that it matches the signature of its superclass rather than add in this complex workaround. Reviewed By: Balandat Differential Revision: D55040610 fbshipit-source-id: 9f908ff52083849e4bf93fcd681e7f7af8f1ce72
- Loading branch information