summaryrefslogtreecommitdiff
path: root/numpy/lib/stride_tricks.pyi
blob: d2e744b5a7b110da966c1ff7883f09e26510f76b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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=...): ...