tf.compat.v1.train.get_checkpoint_mtimes | TensorFlow v2.16.1 (original) (raw)
tf.compat.v1.train.get_checkpoint_mtimes
Returns the mtimes (modification timestamps) of the checkpoints. (deprecated)
tf.compat.v1.train.get_checkpoint_mtimes(
checkpoint_prefixes
)
Globs for the checkpoints pointed to by checkpoint_prefixes. If the files exist, collect their mtime. Both V2 and V1 checkpoints are considered, in that priority.
This is the recommended way to get the mtimes, since it takes into account the naming difference between V1 and V2 formats.
| Args | |
|---|---|
| checkpoint_prefixes | a list of checkpoint paths, typically the results ofSaver.save() or those of tf.train.latest_checkpoint(), regardless of sharded/non-sharded or V1/V2. |
| Returns |
|---|
| A list of mtimes (in microseconds) of the found checkpoints. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.