tf.train.remove_checkpoint(
checkpoint_prefix,
checkpoint_format_version=tf.train.SaverDef.V2,
meta_graph_suffix='meta'
)
Defined in tensorflow/python/training/checkpoint_management.py
.
Removes a checkpoint given by checkpoint_prefix
. (deprecated)
Args:
checkpoint_prefix
: The prefix of a V1 or V2 checkpoint. Typically the result ofSaver.save()
or that oftf.train.latest_checkpoint()
, regardless of sharded/non-sharded or V1/V2.checkpoint_format_version
:SaverDef.CheckpointFormatVersion
, defaults toSaverDef.V2
.meta_graph_suffix
: Suffix forMetaGraphDef
file. Defaults to 'meta'.