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 of
Saver.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.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tf.compat.v1.train.get_checkpoint_mtimes\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.16.1/tensorflow/python/checkpoint/checkpoint_management.py#L414-L457) |\n\nReturns the mtimes (modification timestamps) of the checkpoints. (deprecated) \n\n tf.compat.v1.train.get_checkpoint_mtimes(\n checkpoint_prefixes\n )\n\n| **Deprecated:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use standard file utilities to get mtimes.\n\nGlobs for the checkpoints pointed to by `checkpoint_prefixes`. If the files\nexist, collect their mtime. Both V2 and V1 checkpoints are considered, in\nthat priority.\n\nThis is the recommended way to get the mtimes, since it takes into account\nthe naming difference between V1 and V2 formats.\n| **Note:** If not all checkpoints exist, the length of the returned mtimes list will be smaller than the length of `checkpoint_prefixes` list, so mapping checkpoints to corresponding mtimes will not be possible.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `checkpoint_prefixes` | a list of checkpoint paths, typically the results of `Saver.save()` or those of [`tf.train.latest_checkpoint()`](../../../../tf/train/latest_checkpoint), regardless of sharded/non-sharded or V1/V2. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A list of mtimes (in microseconds) of the found checkpoints. ||\n\n\u003cbr /\u003e"]]