pytorch
dd735b96 - [MPS] Fix `torch.std`/`torch.var` default/correction handling (#91203)

Commit
2 years ago
[MPS] Fix `torch.std`/`torch.var` default/correction handling (#91203) If `torch.std`, `torch.var` are invoked without any arguments, it should be assumed that `unbiased` is `True`. Also, if `correction` parameter is specified it should be use in correction computation. Test by adding `std` and `var` to consistency tests Fixes https://github.com/pytorch/pytorch/issues/91198 Pull Request resolved: https://github.com/pytorch/pytorch/pull/91203 Approved by: https://github.com/kit1980
Author
Committer
Parents
Loading