tf.compat.v1.train.remove_checkpoint
Removes a checkpoint given by checkpoint_prefix
. (deprecated)
tf . compat . v1 . train . remove_checkpoint (
checkpoint_prefix ,
checkpoint_format_version = saver_pb2 . SaverDef . V2 ,
meta_graph_suffix = 'meta'
)
Deprecated: THIS FUNCTION IS DEPRECATED. It will be removed in a future version.
Instructions for updating:
Use standard file APIs to delete files with this prefix.
Args
checkpoint_prefix
The prefix of a V1 or V2 checkpoint. Typically the result
of Saver.save()
or that of tf.train.latest_checkpoint()
, regardless of
sharded/non-sharded or V1/V2.
checkpoint_format_version
SaverDef.CheckpointFormatVersion
, defaults to
SaverDef.V2
.
meta_graph_suffix
Suffix for MetaGraphDef
file. Defaults to 'meta'.
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 2023-03-17 UTC.
[null,null,["Last updated 2023-03-17 UTC."],[],[]]