Download .venv/Lib/site-packages/numpy/lib/_ufunclike_impl.pyi from DrDavis/PythonProject1: direct link, hf CLI and curl.
- Browser
- Download file 1.39 kB
-
https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/numpy/lib/_ufunclike_impl.pyi
- Command line
-
hf download hf://DrDavis/PythonProject1/.venv/Lib/site-packages/numpy/lib/_ufunclike_impl.pyi
-
curl -L -o _ufunclike_impl.pyi https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/numpy/lib/_ufunclike_impl.pyi
1.39 kB
| from typing import Any, overload, TypeVar | |
| import numpy as np | |
| from numpy import floating, object_ | |
| from numpy._typing import ( | |
| NDArray, | |
| _FloatLike_co, | |
| _ArrayLikeFloat_co, | |
| _ArrayLikeObject_co, | |
| ) | |
| __all__ = ["fix", "isneginf", "isposinf"] | |
| _ArrayType = TypeVar("_ArrayType", bound=NDArray[Any]) | |
| def fix( # type: ignore[misc] | |
| x: _FloatLike_co, | |
| out: None = ..., | |
| ) -> floating[Any]: ... | |
| def fix( | |
| x: _ArrayLikeFloat_co, | |
| out: None = ..., | |
| ) -> NDArray[floating[Any]]: ... | |
| def fix( | |
| x: _ArrayLikeObject_co, | |
| out: None = ..., | |
| ) -> NDArray[object_]: ... | |
| def fix( | |
| x: _ArrayLikeFloat_co | _ArrayLikeObject_co, | |
| out: _ArrayType, | |
| ) -> _ArrayType: ... | |
| def isposinf( # type: ignore[misc] | |
| x: _FloatLike_co, | |
| out: None = ..., | |
| ) -> np.bool: ... | |
| def isposinf( | |
| x: _ArrayLikeFloat_co, | |
| out: None = ..., | |
| ) -> NDArray[np.bool]: ... | |
| def isposinf( | |
| x: _ArrayLikeFloat_co, | |
| out: _ArrayType, | |
| ) -> _ArrayType: ... | |
| def isneginf( # type: ignore[misc] | |
| x: _FloatLike_co, | |
| out: None = ..., | |
| ) -> np.bool: ... | |
| def isneginf( | |
| x: _ArrayLikeFloat_co, | |
| out: None = ..., | |
| ) -> NDArray[np.bool]: ... | |
| def isneginf( | |
| x: _ArrayLikeFloat_co, | |
| out: _ArrayType, | |
| ) -> _ArrayType: ... | |