chenyu
eb0f5b5660
failed test case for getitem with leading Nones ( #4936 )
...
* failed test case for getitem with leading Nones
torch matched numpy so tinygrad is incorrect.
another repro
```
t = np.arange(12).reshape((3, 4))
print(t[None, None, np.array([1, 2])])
t = torch.arange(12).reshape((3, 4))
print(t[None, None, torch.tensor([1, 2])].numpy())
t = Tensor.arange(12).reshape(3, 4)
print(t[None, None, Tensor([1, 2])].numpy())
```
* # noqa
2024-06-12 16:19:42 -04:00
..
2024-06-11 18:18:21 -04:00
2024-05-24 17:04:19 -04:00
2024-04-10 02:00:34 -04:00
2024-06-11 11:36:02 -04:00
2024-06-12 13:58:46 +02:00
2024-06-09 11:33:03 +03:00
2024-05-29 23:12:35 -04:00
2024-05-15 15:06:48 +03:00
2024-05-08 01:52:22 -04:00
2024-03-29 20:50:27 -07:00
2024-02-16 00:49:30 -05:00
2024-02-15 16:55:39 +01:00
2024-05-10 22:43:09 -07:00
2024-05-10 21:40:02 -07:00
2024-06-09 11:33:03 +03:00
2024-05-31 17:06:58 +03:00
2024-06-10 14:49:29 -04:00
2024-06-12 13:22:30 -04:00
2024-03-18 16:47:07 -04:00
2024-05-15 10:50:25 -07:00
2024-06-09 11:33:03 +03:00
2024-01-01 10:59:56 -08:00
2024-05-07 12:56:23 -04:00
2024-03-26 21:02:46 -07:00
2024-06-12 16:03:38 -04:00
2024-05-14 23:12:59 -07:00
2024-06-12 13:29:43 -04:00
2024-03-14 20:44:34 -07:00
2024-06-11 11:36:02 -04:00
2024-05-15 23:46:08 +03:00
2024-06-10 18:02:05 -04:00
2024-06-12 16:19:42 -04:00
2024-06-11 11:36:02 -04:00
2024-06-09 18:29:42 -04:00
2024-05-05 10:14:03 -07:00
2024-05-31 17:06:58 +03:00
2024-05-19 00:25:25 -04:00
2024-06-10 14:49:29 -04:00
2024-05-14 01:28:02 -04:00
2024-05-15 23:46:08 +03:00
2024-05-15 23:46:08 +03:00
2024-06-03 22:11:52 +03:00
2024-06-05 16:01:19 -04:00
2024-06-05 12:55:54 -04:00
2024-06-05 16:01:19 -04:00
2024-04-18 07:43:10 +04:00
2024-06-05 12:55:54 -04:00
2024-06-03 13:37:37 -04:00
2024-06-09 23:46:03 +02:00
2024-06-03 18:02:15 -04:00
2024-05-20 12:06:00 -04:00
2024-06-09 07:00:12 -04:00
2024-05-17 18:00:18 -07:00
2024-01-14 19:36:05 -08:00