Clarify comments for max_to_keep.
Change: 115598592
This commit is contained in:
parent
be64da9454
commit
a5f3979004
@ -418,8 +418,10 @@ class BaseSaverBuilder(object):
|
|||||||
Variable nodes.
|
Variable nodes.
|
||||||
max_to_keep: Maximum number of checkpoints to keep. As new checkpoints
|
max_to_keep: Maximum number of checkpoints to keep. As new checkpoints
|
||||||
are created, old ones are deleted. If None or 0, no checkpoints are
|
are created, old ones are deleted. If None or 0, no checkpoints are
|
||||||
deleted. Presently the number is only roughly enforced. For example
|
deleted from the filesystem but only the last one is kept in the
|
||||||
in case of restarts more than max_to_keep checkpoints may be kept.
|
`checkpoint` file. Presently the number is only roughly enforced. For
|
||||||
|
example in case of restarts more than max_to_keep checkpoints may be
|
||||||
|
kept.
|
||||||
keep_checkpoint_every_n_hours: How often checkpoints should be kept.
|
keep_checkpoint_every_n_hours: How often checkpoints should be kept.
|
||||||
Defaults to 10,000 hours.
|
Defaults to 10,000 hours.
|
||||||
name: String. Optional name to use as a prefix when adding operations.
|
name: String. Optional name to use as a prefix when adding operations.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user