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

Rename deprecated call to experimental_distribute_datasets_from_function #2287

Merged

Conversation

swap-10
Copy link
Contributor

@swap-10 swap-10 commented Nov 24, 2023

tf.distribute.Strategy.experimental_distribute_datasets_from_function was deprecated and replaced with tf.distribute.Strategy.distribute_datasets_from_function in the 2.4.0 release.
See 2.4.0 release notes -> breaking changes -> tf.distribute.

This PR replaces the call to this deprecated method with the appropriate renamed method in the tpu guide notebook.

@swap-10 swap-10 requested a review from a team as a code owner November 24, 2023 09:09
Copy link

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 tpu-guide-rename-deprecated-fn

@8bitmp3 8bitmp3 self-assigned this Sep 4, 2024
@8bitmp3 8bitmp3 added the ready to pull Start merge process label Sep 4, 2024
@swap-10 swap-10 closed this Sep 4, 2024
@copybara-service copybara-service bot merged commit f3b5dc4 into tensorflow:master Sep 4, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to pull Start merge process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants