Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 45dc6cc

Browse files
Add a note about the unused keep_checkpoint_max.
PiperOrigin-RevId: 315765963
1 parent 131f54a commit 45dc6cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tensorflow_estimator/python/estimator/run_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,8 @@ def __init__(self,
488488
keep_checkpoint_max: The maximum number of recent checkpoint files to
489489
keep. As new files are created, older files are deleted. If `None` or 0,
490490
all checkpoint files are kept. Defaults to 5 (that is, the 5 most recent
491-
checkpoint files are kept.)
491+
checkpoint files are kept). If a saver is passed to the estimator, this
492+
argument will be ignored.
492493
keep_checkpoint_every_n_hours: Number of hours between each checkpoint to
493494
be saved. The default value of 10,000 hours effectively disables the
494495
feature.

0 commit comments

Comments
 (0)