텐서플로우:: ops:: MergeV2Checkpoints
#include <io_ops.h>V2 형식 관련: 분할된 체크포인트의 메타데이터 파일을 병합합니다.
요약
그만큼
결과적으로 하나의 논리적 체크포인트와 하나의 물리적 메타데이터 파일, 그리고 이름이 변경된 데이터 파일이 생성됩니다.
분할된 체크포인트 설정에서 여러 체크포인트를 "그룹화"하기 위한 용도로 설계되었습니다.
delete_old_dirs가 true이면 입력 checkpoint_prefixes에 있는 각 경로의 디렉터리 이름을 재귀적으로 삭제하려고 시도합니다. 이는 해당 경로가 사용자에게 노출되지 않는 임시 위치일 때 유용합니다.
논거:
- 범위: 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) | |
구조 | |
|---|---|
| 텐서플로우:: ops:: MergeV2Checkpoints:: Attrs | MergeV2Checkpoints 에 대한 선택적 속성 설정기입니다. |
공개 속성
작업
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() const
공개 정적 함수
이전 디렉터리 삭제
Attrs DeleteOldDirs( bool x )