tf.train.remove_checkpoint
Удаляет контрольную точку, заданную checkpoint_prefix. (устарело)
tf.train.remove_checkpoint(
checkpoint_prefix, checkpoint_format_version=tf.train.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'. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/train/remove_checkpoint