Commit d2052ea
Update test_multiarray.py to support numpy 2.0+ (pytorch#138461)
Import _core instead of core.
Addresses partially pytorch#137182
Pull Request resolved: pytorch#138461
Approved by: https://github.com/ezyang, https://github.com/albanD1 parent 4c6ae39 commit d2052ea
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
79 | 84 | | |
80 | 85 | | |
81 | 86 | | |
| |||
0 commit comments