Skip to content

scatter_reduce and sparse_categorical_crossentropy to mixin#15902

Merged
chenyuxyz merged 1 commit intotinygrad:masterfrom
chenyuxyz:scatter_reduce-mixin
Apr 24, 2026
Merged

scatter_reduce and sparse_categorical_crossentropy to mixin#15902
chenyuxyz merged 1 commit intotinygrad:masterfrom
chenyuxyz:scatter_reduce-mixin

Conversation

@chenyuxyz
Copy link
Copy Markdown
Collaborator

also use .ne to fix # type: ignore[comparison-overlap]

also use `.ne` to fix `# type: ignore[comparison-overlap]`
@github-actions
Copy link
Copy Markdown
Contributor

Changes

Name                           Lines    Diff    Tokens/Line    Diff
---------------------------  -------  ------  -------------  ------
tinygrad/tensor.py               991     -33           20.4    -0.1
tinygrad/renderer/cstyle.py      466      +0           19.9    +0.0
tinygrad/mixin/__init__.py       318     +33           21.9    +0.3


total lines changes: 0

@chenyuxyz chenyuxyz merged commit 08d9106 into tinygrad:master Apr 24, 2026
51 checks passed
@chenyuxyz chenyuxyz deleted the scatter_reduce-mixin branch April 24, 2026 01:06
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