tensorflow::ops::MergeV2Checkpoints
#include <io_ops.h>รูปแบบ V2 เฉพาะ: รวมไฟล์เมตาเดตาของจุดตรวจสอบที่แบ่งส่วนไว้
สรุป
เดอะ
ผลลัพธ์คือจุดตรวจสอบเชิงตรรกะหนึ่งจุด พร้อมไฟล์เมตาเดตาทางกายภาพหนึ่งไฟล์ และไฟล์ข้อมูลที่เปลี่ยนชื่อแล้ว
มีวัตถุประสงค์เพื่อ "จัดกลุ่ม" จุดตรวจสอบหลายจุดในการตั้งค่าจุดตรวจสอบแบบแบ่งส่วน
หาก delete_old_dirs เป็น true ระบบจะพยายามลบไดเร็กทอรีชื่อของแต่ละพาธใน 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) | |
โครงสร้าง | |
|---|---|
| tensorflow:: 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 )