Commit 4ff3872
authored
[v.1.5.0] Ensure linearIndex of advanced indexing backwards is contig… (pytorch#36962)
* [v.1.5.0] Ensure linearIndex of advanced indexing backwards is contiguous.
This is a more straightforward solution to the problem than pytorch#36957; I don't know about the relative performance.
Fixes: pytorch#36956
ghstack-source-id: 43c48ea
Pull Request resolved: pytorch#36959
* Fix test.1 parent d7bdffa commit 4ff3872
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5329 | 5329 | | |
5330 | 5330 | | |
5331 | 5331 | | |
| 5332 | + | |
| 5333 | + | |
| 5334 | + | |
| 5335 | + | |
| 5336 | + | |
| 5337 | + | |
| 5338 | + | |
5332 | 5339 | | |
5333 | 5340 | | |
5334 | 5341 | | |
| |||
0 commit comments