-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
torch.nn.functional.log_softmax parameter '_stacklevel' undocumented #83163
Comments
I want to know whether the value of '_stacklevel' can set to string❓ Even value in documentation is set to 3, I found that when it's set to string, such as "max", these two API works normally.
|
I think the essence of the story is that _stacklevel is passed to some |
Get it. I think you're right, because just now I found that bool / list or other value could be assigned to _stacklevel. Thank u🥰 |
Let's drop it |
This argument is only used for the depraction warning raised when Since |
After dropping, probably even functional python wrapper can be dropped or auto-generated instead? |
📚 The doc issue
The documentation of the very popular torch.nn.functional.log_softmax doesn't explain what _stacklevel is, why it's set to 3 and what to do with it.
Suggest a potential alternative/fix
No response
cc @albanD @mruberry @jbschlosser @walterddr @kshitij12345 @saketh-are
The text was updated successfully, but these errors were encountered: