tensorflow::ops::MergeV2Checkpoints
#include <io_ops.h>
Формат V2: объединяет метаданные файлов фрагментированных контрольных точек.
Краткое описание
Результат — одна логическая контрольная точка с одним физическим файлом метаданных и переименованными файлами данных.
Предназначено для «группирования» нескольких контрольных точек в фрагментированной настройке контрольных точек.
Если delete_old_dirs равно true, пытается рекурсивно удалить dirname каждого пути в входных checkpoint_prefixes. Это полезно, когда эти пути являются временными расположениями, не видимыми пользователю.
Аргументы:
- scope: Объект Scope
- checkpoint_prefixes: префиксы V2 контрольных точек для объединения.
- destination_prefix: скаляр. Желаемый конечный префикс. Может быть таким же, как один из checkpoint_prefixes.
Дополнительные атрибуты (см. Attrs):
- delete_old_dirs: см. выше.
Возвращает:
- созданный
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) |
| Общедоступные атрибуты | |
|---|---|
operation | |
| Общедоступные функции | |
|---|---|
operator::tensorflow::Operation() const | |
| Общедоступные статические функции | |
|---|---|
DeleteOldDirs(bool x) | |
| Структуры | |
|---|---|
| tensorflow::ops::MergeV2Checkpoints::Attrs | Дополнительные параметры установки атрибутов для MergeV2Checkpoints. |
Общедоступные атрибуты
operation
Operation operation
Общедоступные функции
MergeV2Checkpoints
MergeV2Checkpoints( const ::tensorflow::Scope & scope, ::tensorflow::Input checkpoint_prefixes, ::tensorflow::Input destination_prefix )
MergeV2Checkpoints
MergeV2Checkpoints( const ::tensorflow::Scope & scope, ::tensorflow::Input checkpoint_prefixes, ::tensorflow::Input destination_prefix, const MergeV2Checkpoints::Attrs & attrs )
operator::tensorflow::Operation
operator::tensorflow::Operation() const
Общедоступные статические функции
DeleteOldDirs
Attrs DeleteOldDirs( bool x )
© 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/cc/class/tensorflow/ops/merge-v2-checkpoints