-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
Formatted callback.py to render correctly #16765
Conversation
Updated some formatting to render the code block correctly
Thanks for the PR! The code change will be problematic because it's using doctest which attempts to run the example code, but it's actually not runnable. Can you do the couple things instead: 1) add 'python' after the initial '```' and 2) fix the indentation. |
Updated based on your suggestion. Please review |
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.
Thanks for the update. LGTM.
Please fix the code formatting:
|
Updated. Please review. 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.
Please fix the black
formatting test.
keras/callbacks.py
Outdated
@@ -654,7 +654,8 @@ class Callback: | |||
callbacks.on_epoch_end(epoch, epoch_logs) | |||
final_logs=... | |||
callbacks.on_train_end(final_logs) | |||
``` | |||
``` | |||
|
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.
Remove whitespace.
Updated some formatting to render the code block correctly