rep1/python37/Lib/site-packages/numpy/lib/stride_tricks.pyi

17 lines
510 B
Python
Raw Permalink Normal View History

2024-11-21 09:00:42 +08:00
from typing import Any, List
from numpy.typing import _ShapeLike, _Shape
__all__: List[str]
class DummyArray:
__array_interface__: Any
base: Any
def __init__(self, interface, base=...): ...
def as_strided(x, shape=..., strides=..., subok=..., writeable=...): ...
def sliding_window_view(x, window_shape, axis=..., *, subok=..., writeable=...): ...
def broadcast_to(array, shape, subok=...): ...
def broadcast_shapes(*args: _ShapeLike) -> _Shape: ...
def broadcast_arrays(*args, subok=...): ...