#include <io_ops.h>
V2 format specific: merges the metadata files of sharded checkpoints.
The
result is one logical checkpoint, with one physical metadata file and renamed data files.
Intended for "grouping" multiple checkpoints in a sharded checkpoint setup.
If delete_old_dirs is true, attempts to delete recursively the dirname of each path in the input checkpoint_prefixes. This is useful when those paths are non user-facing temporary locations.
Arguments:
Optional attributes (see Attrs
):
Returns:
Operation
Constructors and Destructors | |
---|---|
MergeV2Checkpoints(const ::tensorflow::Scope & scope, ::tensorflow::Input checkpoint_prefixes, ::tensorflow::Input destination_prefix) | |
MergeV2Checkpoints(const ::tensorflow::Scope & scope, ::tensorflow::Input checkpoint_prefixes, ::tensorflow::Input destination_prefix, const MergeV2Checkpoints::Attrs & attrs) |
Public attributes | |
---|---|
operation |
Public functions | |
---|---|
operator::tensorflow::Operation() const |
Public static functions | |
---|---|
DeleteOldDirs(bool x) |
Structs | |
---|---|
tensorflow::ops::MergeV2Checkpoints::Attrs | Optional attribute setters for MergeV2Checkpoints. |
Operation operation
MergeV2Checkpoints( const ::tensorflow::Scope & scope, ::tensorflow::Input checkpoint_prefixes, ::tensorflow::Input destination_prefix )
MergeV2Checkpoints( const ::tensorflow::Scope & scope, ::tensorflow::Input checkpoint_prefixes, ::tensorflow::Input destination_prefix, const MergeV2Checkpoints::Attrs & attrs )
operator::tensorflow::Operation() const
Attrs DeleteOldDirs( bool x )
© 2018 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/api_docs/cc/class/tensorflow/ops/merge-v2-checkpoints.html