Antonio
@vazquezvk
742 Following
173 Followers
3 replies
413 recasts
904 reactions
2 replies
345 recasts
814 reactions
6 replies
443 recasts
1027 reactions
189 replies
1118 recasts
1268 reactions
3 replies
345 recasts
834 reactions
11 replies
394 recasts
982 reactions
2 replies
382 recasts
817 reactions
8 replies
591 recasts
1196 reactions
6 replies
520 recasts
1066 reactions
17 replies
464 recasts
903 reactions
0 reply
0 recast
1 reaction
10 replies
716 recasts
1558 reactions
36 replies
1096 recasts
1914 reactions
0 reply
0 recast
0 reaction
1 reply
11 recasts
48 reactions
35 replies
847 recasts
1446 reactions
1 reply
0 recast
0 reaction
1 reply
3 recasts
65 reactions
0 reply
9 recasts
20 reactions
The differences between the APIs of numpy, cupy and torch are so fascinating....
```
>>> import torch as np
>>> np.arange(10)
tensor([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
>>> a = np.zeros(20)
>>> a[19:-1:-2] = np.arange(10)
```
Torch doesn't let you have ranges that go backwards 🤣
Would love more consistency 43 replies
635 recasts
2603 reactions