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

Bug fix: softmax()'s axis argument should EnforceRange #746

Merged

Conversation

inexorabletash
Copy link
Member

@inexorabletash inexorabletash commented Jul 30, 2024

All input integers have [EnforceRange] applied to prevent weirdness... except softmax()'s axis argument. Already present in the Chromium prototype implementation; it looks like this argument was just missed in 6023741.


Preview | Diff

All input integers have [EnforceRange] applied to prevent weirdness...
except softmax()'s axis argument. Already present in the Chromium
prototype implementation; it looks like this argument was just missed
in 6023741.
@inexorabletash
Copy link
Member Author

@huningxin and/or @fdwr - can you please review/merge?

Copy link
Collaborator

@fdwr fdwr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Yep, that's the only one I see missing. Merging since trivial.

@fdwr fdwr merged commit 928d3a1 into webmachinelearning:main Jul 31, 2024
2 checks passed
github-actions bot added a commit that referenced this pull request Jul 31, 2024
SHA: 928d3a1
Reason: push, by fdwr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@inexorabletash inexorabletash deleted the softmax-axis-enforcerange branch July 31, 2024 01:54
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