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

Fix package name #40040

Merged
merged 1 commit into from
Jul 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions tensorflow/python/training/checkpoint_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def latest_checkpoint(checkpoint_dir, latest_filename=None):
Gets the checkpoint state given the provided checkpoint_dir and looks for a
corresponding TensorFlow 2 (preferred) or TensorFlow 1.x checkpoint path.
The latest_filename argument is only applicable if you are saving checkpoint
using `v1.Saver.save`
using `v1.train.Saver.save`


See the [Training Checkpoints
Expand All @@ -342,7 +342,7 @@ def latest_checkpoint(checkpoint_dir, latest_filename=None):
checkpoint_dir: Directory where the variables were saved.
latest_filename: Optional name for the protocol buffer file that
contains the list of most recent checkpoint filenames.
See the corresponding argument to `v1.Saver.save`.
See the corresponding argument to `v1.train.Saver.save`.

Returns:
The full path to the latest checkpoint or `None` if no checkpoint was found.
Expand Down