เทนเซอร์โฟลว์:: ปฏิบัติการ:: ผสานV2จุดตรวจ
#include <io_ops.h>เฉพาะรูปแบบ V2: รวมไฟล์ข้อมูลเมตาของจุดตรวจที่แบ่งส่วน
สรุป
ที่
ผลลัพธ์คือจุดตรวจสอบเชิงตรรกะหนึ่งจุด โดยมีไฟล์ข้อมูลเมตาทางกายภาพหนึ่งไฟล์และไฟล์ข้อมูลที่เปลี่ยนชื่อ
มีไว้สำหรับ "การจัดกลุ่ม" จุดตรวจหลายจุดในการตั้งค่าจุดตรวจที่แยกส่วน
หาก Delete_old_dirs เป็นจริง จะพยายามลบชื่อจริงของแต่ละพาธแบบวนซ้ำในอินพุต checkpoint_prefixes สิ่งนี้มีประโยชน์เมื่อเส้นทางเหล่านั้นไม่ใช่สถานที่ชั่วคราวที่ผู้ใช้ต้องเผชิญ
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- 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 :: จุดผสาน V2 :: Attrs | ตัวตั้งค่าคุณลักษณะเสริมสำหรับ MergeV2Checkpoints | 
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
งานสาธารณะ
ผสานV2จุดตรวจ
MergeV2Checkpoints( const ::tensorflow::Scope & scope, ::tensorflow::Input checkpoint_prefixes, ::tensorflow::Input destination_prefix )
ผสานV2จุดตรวจ
MergeV2Checkpoints( const ::tensorflow::Scope & scope, ::tensorflow::Input checkpoint_prefixes, ::tensorflow::Input destination_prefix, const MergeV2Checkpoints::Attrs & attrs )
ตัวดำเนินการ::เทนเซอร์โฟลว์::การทำงาน
operator::tensorflow::Operation() const
ฟังก์ชันคงที่สาธารณะ
ลบOldDirs
Attrs DeleteOldDirs( bool x )