Skip to content

Replace uses of x.size with math.prod(x.shape) #162

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

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

honno
Copy link
Member

@honno honno commented Jan 11, 2023

Resolves #161

@asmeurer asmeurer merged commit 17114d2 into data-apis:master Jan 11, 2023
@honno honno deleted the shape-over-size branch February 28, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid using .size for pytorch compat
2 participants