Skip to content

Refactor old #3

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

Open
wants to merge 26 commits into
base: main-old
Choose a base branch
from
Open

Refactor old #3

wants to merge 26 commits into from

Conversation

honno
Copy link
Owner

@honno honno commented Jan 24, 2023

No description provided.

ev-br and others added 26 commits January 13, 2023 10:50
Move dealing with tensors to to _detail._reductions
A drawback of the current version is that the out=... arg
needs to be passed as a keyword argument, and it cannot be a positional arg.
decorators in decorators.py know about arrays, _detail does not.
Also mimic numpy, which casts inputs to inexact types (pytorch raises if
dtypes differ).
Fuse logical ops in normalize_axis_index

Co-authored-by: Mario Lezcano Casado <[email protected]>
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.

2 participants