-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Drop _stacklevel from argspecs of F.softmax, F.softmin, F.log_softmax (for implicit dim has been long deprecated) #36524
Comments
I think this is related to the warning produced when |
what is |
It is somehow related to Python's warning suppression mechanism. If the legacy softmax dim behavior is gone, _stacklevel is not needed either |
I think implicit dim and _stacklevel should be dropped, because they have been deprecated long ago |
https://pytorch.org/docs/master/nn.functional.html?highlight=softmax#torch.nn.functional.softmax
If it's unused or has some special undocumented meaning, I think it's useful to explain it explicitly in Parameters section
The text was updated successfully, but these errors were encountered: