Antonio
@vazquezvk
464 Following
136 Followers
83 replies
1072 recasts
1833 reactions
0 reply
0 recast
0 reaction
1 reply
3 recasts
15 reactions
35 replies
845 recasts
1441 reactions
1 reply
0 recast
0 reaction
1 reply
3 recasts
14 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
641 recasts
2642 reactions
0 reply
1 recast
2 reactions
0 reply
1 recast
2 reactions
63 replies
1239 recasts
2915 reactions
15 replies
8 recasts
61 reactions
77 replies
1843 recasts
7334 reactions
5 replies
31 recasts
455 reactions
0 reply
0 recast
17 reactions
2 replies
1 recast
21 reactions
0 reply
2 recasts
18 reactions
526 replies
5989 recasts
12105 reactions
0 reply
0 recast
18 reactions