-
Notifications
You must be signed in to change notification settings - Fork 74.2k
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 documentation of the tf.nn.softmax function #53172
Conversation
Hi, I noticed that the line is longer than 80 characters, any suggestion on how to rewrite it in a two-line format? P.S. I also tried to run tf_doctest.py (as indicated here: https://www.tensorflow.org/community/contribute/docs_ref) but it throws "AttributeError: module 'tensorflow.python.ops.logging_ops' has no attribute 'enable_interactive_logging" |
@T-Almeida Can you please address PyLint errors? Thanks! |
Hi @gbaned, I made two changes in order to fix the PyLint erros, see if its okey |
This PR addresses the issue #53112
As discussed, the tf.nn.softmax documentation states that:
However the above computation is wrong for tensors with rank greater than 1.
I belive that the correct description would be: