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

fix Tensor.minimum for int #592

Closed
wants to merge 1 commit into from
Closed

fix Tensor.minimum for int #592

wants to merge 1 commit into from

Conversation

chenyuxyz
Copy link
Owner

use invert instead of just neg. consolidate min, argmin, and minimum

@chenyuxyz chenyuxyz force-pushed the int-minimum branch 3 times, most recently from 7294191 to f2dd2ea Compare December 10, 2024 18:14
Copy link

Changes

Name                  Lines    Diff    Tokens/Line    Diff
------------------  -------  ------  -------------  ------
tinygrad/tensor.py     1244      +2           20.5    -0.0


total lines changes: +2

use invert instead of just neg. consolidate min, argmin, and minimum

also update maximum to not apply the mid point for int
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