docs icon indicating copy to clipboard operation
docs copied to clipboard

Fixed serialize_example() example description and applied nbfmt

Open eslam69 opened this issue 1 year ago • 2 comments

This is a follow-up pull request regarding #2198, as @markmcd asked, I've run nbfmt on the notebook and passed nblint test locally.

  • Fixed serialize_example() example description where the mentioned function create_message() was meant to be serialize_example().
  • Updated the code cell where the serialize_example() is used, the example_observation variable was initialized but not used, so I filled it with the data, and used it as an argument to serialize_example().

eslam69 avatar Mar 20 '23 00:03 eslam69

Preview

Preview and run these notebook edits with Google Colab: Rendered notebook diffs available on ReviewNB.com.

Format and style

Use the TensorFlow docs notebook tools to format for consistent source diffs and lint for style:
$ python3 -m pip install -U --user git+https://github.com/tensorflow/docs

$ python3 -m tensorflow_docs.tools.nbfmt notebook.ipynb
$ python3 -m tensorflow_docs.tools.nblint --arg=repo:tensorflow/docs notebook.ipynb
If commits are added to the pull request, synchronize your local branch: git pull origin master

github-actions[bot] avatar Mar 20 '23 00:03 github-actions[bot]

@MarkDaoust

8bitmp3 avatar Dec 20 '23 21:12 8bitmp3

@MarkDaoust Hello Mark, could you please review my work on the requested changes?

eslam69 avatar Apr 05 '24 22:04 eslam69

@MarkDaoust @markmcd

8bitmp3 avatar May 03 '24 20:05 8bitmp3