Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
arrayterator.pyi15 linesDownload Raw Back to fail
1import numpy as np
2import numpy.typing as npt
3
4AR_i8: npt.NDArray[np.int64]
5ar_iter = np.lib.Arrayterator(AR_i8)
6
7np.lib.Arrayterator(np.int64())  # type: ignore[arg-type]
8ar_iter.shape = (10, 5)  # type: ignore[misc]
9ar_iter[None]  # type: ignore[index]
10ar_iter[None, 1]  # type: ignore[index]
11ar_iter[np.intp()]  # type: ignore[index]
12ar_iter[np.intp(), ...]  # type: ignore[index]
13ar_iter[AR_i8]  # type: ignore[index]
14ar_iter[AR_i8, :]  # type: ignore[index]
15 
codekingpro/portable-devtools · Team Ai