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
Fix documentation in tf.keras.layers.Add
example
#28294
Conversation
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.
LGTM! Thanks for the fix. 🙂
added = keras.layers.Add()([x1, x2]) # equivalent to added = | ||
keras.layers.add([x1, x2]) | ||
|
||
added = keras.layers.Add()([x1, x2]) # equivalent to added = keras.layers.add([x1, x2]) |
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.
Quoting from internal review:
The comment should be moved to above this line to avoid the line-too-long issue.
The code in the comment should be put inside backquotes
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.
I have made the changes. Thanks!
I have made the changes. Thanks!
I have made the changes. Thanks!
I have made the changes. Thanks!
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.
Thank you
PiperOrigin-RevId: 246174919
Merged in ac6e979 |
@mihaimaruseac Thank you. |
This fixes #27632
(https://www.tensorflow.org/api_docs/python/tf/keras/layers/Add#class_add)