We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can be based on PyTorch's.
The API should be equivalent to:
function softmax(x::AbstractArray, axis=1) out = exp.(x .- maximum(x, axis)) out ./= sum(out, axis) return out end
The text was updated successfully, but these errors were encountered:
https://gist.github.com/jekbradbury/becd9fff1c469dc73cb57f73d1f2a439
Sorry, something went wrong.
This is something for NNlib.jl.
No branches or pull requests
Can be based on PyTorch's.
The API should be equivalent to:
The text was updated successfully, but these errors were encountered: