-
Notifications
You must be signed in to change notification settings - Fork 22
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
Update softmax with parameterization #16
Conversation
parameterize softmax to be usable with AD.
Depending on your use case, you might need to improve the implementation of |
incorporate suggestions from @devmotion Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Do you have any comments on why softmax! was written the way it was? Is there a point to using |
No, I don't know why it was written in this way. I assume that it uses |
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, looks good! If you revert back to using invs = inv(s)
, then it should be good to go and I'll merge and make a new release.
thanks for your patience |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the PR!
A new release with the fix should be available soon: JuliaRegistries/General#34861 |
parameterize softmax to be usable with AD.