Buckets:
| from collections.abc import Iterable | |
| from typing import Any, TypeVar, overload | |
| from numpy import generic | |
| from numpy._typing import ArrayLike, NDArray, _AnyShape, _ArrayLike, _ShapeLike | |
| __all__ = ["broadcast_to", "broadcast_arrays", "broadcast_shapes"] | |
| _ScalarT = TypeVar("_ScalarT", bound=generic) | |
| class DummyArray: | |
| __array_interface__: dict[str, Any] | |
| base: NDArray[Any] | None | |
| def __init__( | |
| self, | |
| interface: dict[str, Any], | |
| base: NDArray[Any] | None = None, | |
| ) -> None: ... | |
| def as_strided( | |
| x: _ArrayLike[_ScalarT], | |
| shape: Iterable[int] | None = None, | |
| strides: Iterable[int] | None = None, | |
| subok: bool = False, | |
| writeable: bool = True, | |
| ) -> NDArray[_ScalarT]: ... | |
| def as_strided( | |
| x: ArrayLike, | |
| shape: Iterable[int] | None = None, | |
| strides: Iterable[int] | None = None, | |
| subok: bool = False, | |
| writeable: bool = True, | |
| ) -> NDArray[Any]: ... | |
| def sliding_window_view( | |
| x: _ArrayLike[_ScalarT], | |
| window_shape: int | Iterable[int], | |
| axis: int | tuple[int, ...] | None = None, | |
| *, | |
| subok: bool = False, | |
| writeable: bool = False, | |
| ) -> NDArray[_ScalarT]: ... | |
| def sliding_window_view( | |
| x: ArrayLike, | |
| window_shape: int | Iterable[int], | |
| axis: int | tuple[int, ...] | None = None, | |
| *, | |
| subok: bool = False, | |
| writeable: bool = False, | |
| ) -> NDArray[Any]: ... | |
| def broadcast_to( | |
| array: _ArrayLike[_ScalarT], | |
| shape: int | Iterable[int], | |
| subok: bool = False, | |
| ) -> NDArray[_ScalarT]: ... | |
| def broadcast_to( | |
| array: ArrayLike, | |
| shape: int | Iterable[int], | |
| subok: bool = False, | |
| ) -> NDArray[Any]: ... | |
| def broadcast_shapes(*args: _ShapeLike) -> _AnyShape: ... | |
| def broadcast_arrays(*args: ArrayLike, subok: bool = False) -> tuple[NDArray[Any], ...]: ... | |
| # used internally by `lib._function_base_impl._parse_input_dimensions` | |
| def _broadcast_shape(*args: ArrayLike) -> _AnyShape: ... | |
Xet Storage Details
- Size:
- 1.96 kB
- Xet hash:
- 5200aa4c50f955beed8b3d64b4ae40db0ffd59407ccef647f527f97410f6f4b1
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.