tf.compat.v1.train.remove_checkpoint
Удаляет контрольный пункт, заданный значением checkpoint_prefix. (устарело)
tf.compat.v1.train.remove_checkpoint(
checkpoint_prefix,
checkpoint_format_version=saver_pb2.SaverDef.V2,
meta_graph_suffix='meta'
)
| Аргументы | |
|---|---|
checkpoint_prefix | Префикс контрольного пункта V1 или V2. Обычно результат Saver.save() или результата tf.train.latest_checkpoint(), независимо от фрагментации/нефрагментации или V1/V2. |
checkpoint_format_version | SaverDef.CheckpointFormatVersion, по умолчанию SaverDef.V2. |
meta_graph_suffix | Суффикс для файла MetaGraphDef. По умолчанию 'meta'. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/compat/v1/train/remove_checkpoint