Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide sliding_window_view #6956

Closed
dcherian opened this issue Aug 2, 2022 · 1 comment
Closed

Provide sliding_window_view #6956

dcherian opened this issue Aug 2, 2022 · 1 comment
Labels

Comments

@dcherian
Copy link
Contributor

dcherian commented Aug 2, 2022

Description

CuPy provides as_strided

It'd be nice to also provide sliding_window_view which IIRC is a wrapper around as_strided. Xarray uses sliding_window_view for its "rolling" operations (similar to pandas).

Additional Information

No response

@kmaehashi
Copy link
Member

Thanks for the feedback, @dcherian! It seems numpy.lib.* things have slipped off the TODO list (#6078). PRs from anyone welcomed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants