Skip to content

Refactor pre commit #33

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

Closed
wants to merge 25 commits into from
Closed

Refactor pre commit #33

wants to merge 25 commits into from

Conversation

ev-br
Copy link
Collaborator

@ev-br ev-br commented Jan 30, 2023

This is gh-22 on top of main with all the pre-commit niceties. Am going to see if tests pass and merge if they are.

ev-br and others added 25 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]>
@ev-br ev-br force-pushed the refactor_pre_commit branch from 3f9f18f to d7ce8d4 Compare January 30, 2023 20:26
@ev-br
Copy link
Collaborator Author

ev-br commented Jan 30, 2023

OK, this is annoying. Still does not work. Closing.

@ev-br ev-br closed this Jan 30, 2023
@ev-br ev-br deleted the refactor_pre_commit branch February 5, 2023 14:28
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.

1 participant