pytorch
36062dd2 - [MPS] Fix the crash in View ops when slicing wrong lengths (#94259)

Commit
1 year ago
[MPS] Fix the crash in View ops when slicing wrong lengths (#94259) The offset + length of destination tensor should not be larger than source's length when slicing Fixes #94190 Pull Request resolved: https://github.com/pytorch/pytorch/pull/94259 Approved by: https://github.com/malfet
Author
Committer
Parents
Loading