Skip to content
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

Update deprecated code snippets in ZH-CN translations #738

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Royc30ne
Copy link

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

Copy link

google-cla bot commented May 30, 2024

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.

Copy link

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 github-actions bot added the zh-cn label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant