[Reinstate] Wishart distribution (#70377)
Summary:
Implement https://github.com/pytorch/pytorch/issues/68050
Reopened merged and reverted PR https://github.com/pytorch/pytorch/issues/68588 worked with neerajprad
cc neerajprad
Sorry for the confusion.
TODO:
- [x] Unit Test
- [x] Documentation
- [x] Change constraint of matrix variables with 'torch.distributions.constraints.symmetric' if it is reviewed and merged. Debug positive definite constraints https://github.com/pytorch/pytorch/issues/68720
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70377
Reviewed By: mikaylagawarecki
Differential Revision: D33355132
Pulled By: neerajprad
fbshipit-source-id: e968c0d9a3061fb2855564b96074235e46a57b6c