Skip to content

Update format of tutorial notebooks#1040

Open
mhucka wants to merge 1 commit intotensorflow:masterfrom
mhucka:run-format-all
Open

Update format of tutorial notebooks#1040
mhucka wants to merge 1 commit intotensorflow:masterfrom
mhucka:run-format-all

Conversation

@mhucka
Copy link
Copy Markdown
Member

@mhucka mhucka commented Apr 10, 2026

Running scripts/format_all.sh produces some small differences in the tutorials. I further adjusted the results from what format_all.sh produced in order to move a comment that ended up in a less-than-ideal place. The result passes scripts/format_all.sh without further changes.

The fact that this difference arose is most likely a sign that I didn't run scripts/format_all.sh during the final steps of the last release. I will add a note to the release procedure to remind us to do that in the future.

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several tutorial notebooks to ensure the TF_USE_LEGACY_KERAS environment variable is set before importing TensorFlow or TensorFlow Quantum. Additionally, it includes minor formatting changes to the reinforcement learning tutorial. A review comment suggests improving the readability of the progress logs in the reinforcement learning notebook by rounding the average reward values to two decimal places.

@mhucka mhucka marked this pull request as ready for review April 10, 2026 04:52
@mhucka mhucka requested a review from MichaelBroughton April 10, 2026 04:55
@mhucka mhucka changed the title Update format of tutorial notebooks using scripts/format_all.sh Update format of tutorial notebooks Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant