Download lib/python3.12/site-packages/numpy/core/_asarray.pyi from parallel-reasoner/env-full: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/parallel-reasoner/env-full/resolve/b9918be14658eb32f7f27abe8daee683afea2901/lib/python3.12/site-packages/numpy/core/_asarray.pyi
- Command line
-
hf download hf://parallel-reasoner/env-full@b9918be14658eb32f7f27abe8daee683afea2901/lib/python3.12/site-packages/numpy/core/_asarray.pyi
-
curl -L -o _asarray.pyi https://huggingface.co/parallel-reasoner/env-full/resolve/b9918be14658eb32f7f27abe8daee683afea2901/lib/python3.12/site-packages/numpy/core/_asarray.pyi
1.09 kB
| from collections.abc import Iterable | |
| from typing import Any, TypeVar, Union, overload, Literal | |
| from numpy import ndarray | |
| from numpy._typing import DTypeLike, _SupportsArrayFunc | |
| _ArrayType = TypeVar("_ArrayType", bound=ndarray[Any, Any]) | |
| _Requirements = Literal[ | |
| "C", "C_CONTIGUOUS", "CONTIGUOUS", | |
| "F", "F_CONTIGUOUS", "FORTRAN", | |
| "A", "ALIGNED", | |
| "W", "WRITEABLE", | |
| "O", "OWNDATA" | |
| ] | |
| _E = Literal["E", "ENSUREARRAY"] | |
| _RequirementsWithE = Union[_Requirements, _E] | |
| def require( | |
| a: _ArrayType, | |
| dtype: None = ..., | |
| requirements: None | _Requirements | Iterable[_Requirements] = ..., | |
| *, | |
| like: _SupportsArrayFunc = ... | |
| ) -> _ArrayType: ... | |
| def require( | |
| a: object, | |
| dtype: DTypeLike = ..., | |
| requirements: _E | Iterable[_RequirementsWithE] = ..., | |
| *, | |
| like: _SupportsArrayFunc = ... | |
| ) -> ndarray[Any, Any]: ... | |
| def require( | |
| a: object, | |
| dtype: DTypeLike = ..., | |
| requirements: None | _Requirements | Iterable[_Requirements] = ..., | |
| *, | |
| like: _SupportsArrayFunc = ... | |
| ) -> ndarray[Any, Any]: ... | |