pytorch
00a46a5e - Fix incorrect inplace sort in `topk` (#58314) (#58318)

Commit
3 years ago
Fix incorrect inplace sort in `topk` (#58314) (#58318) Summary: Fixes https://github.com/pytorch/pytorch/issues/58314 https://github.com/pytorch/pytorch/issues/55392 introduced a bug by not allocating a separate value tensor for sorting CC ngimel zasdfgbnm Pull Request resolved: https://github.com/pytorch/pytorch/pull/58318 Reviewed By: mruberry Differential Revision: D28450698 Pulled By: ngimel fbshipit-source-id: dea1201ebfcbaab8536580b80f8321bda2468fc4
Author
eqy eqy
Parents
Loading