docs-l10n icon indicating copy to clipboard operation
docs-l10n copied to clipboard

Update deprecated code snippets in ZH-CN translations

Open Royc30ne opened this issue 1 year ago • 2 comments

Some code snippets in zh-CN tutorials are not executable due to deprecated functions

Royc30ne avatar May 30 '24 08:05 Royc30ne

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar May 30 '24 08:05 google-cla[bot]

Localization

Translators and reviewers are encouraged to submit pull requests from our GitLocalize project.

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-l10n \     --styles=tensorflow,tensorflow_docs_l10n notebook.ipynb
If commits are added to the pull request, synchronize your local branch: git pull origin c9306febf9656eedeb1975246e554072d198cc2f

github-actions[bot] avatar May 30 '24 08:05 github-actions[bot]