เทนเซอร์โฟลว์:: ปฏิบัติการ:: ยืนยัน
#include <logging_ops.h>ยืนยันว่าเงื่อนไขที่กำหนดเป็นจริง
สรุป
หาก condition ประเมินเป็นเท็จ ให้พิมพ์รายการเทนเซอร์ใน data summarize กำหนดจำนวนรายการของเทนเซอร์ที่จะพิมพ์
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- เงื่อนไข: เงื่อนไขในการประเมิน
- ข้อมูล: เทนเซอร์ที่จะพิมพ์ออกมาเมื่อเงื่อนไขเป็นเท็จ
แอ็ตทริบิวต์ทางเลือก (ดู Attrs ):
- สรุป: พิมพ์ รายการจำนวนมากนี้ของแต่ละเทนเซอร์
ผลตอบแทน:
-
Operationที่สร้างขึ้น
ตัวสร้างและผู้ทำลาย | |
|---|---|
Assert (const :: tensorflow::Scope & scope, :: tensorflow::Input condition, :: tensorflow::InputList data) | |
Assert (const :: tensorflow::Scope & scope, :: tensorflow::Input condition, :: tensorflow::InputList data, const Assert::Attrs & attrs) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
งานสาธารณะ | |
|---|---|
operator::tensorflow::Operation () const | |
ฟังก์ชันคงที่สาธารณะ | |
|---|---|
Summarize (int64 x) | |
โครงสร้าง | |
|---|---|
| เทนเซอร์โฟลว์ :: ops :: ยืนยัน :: Attrs | ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ Assert |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
งานสาธารณะ
ยืนยัน
Assert( const ::tensorflow::Scope & scope, ::tensorflow::Input condition, ::tensorflow::InputList data )
ยืนยัน
Assert( const ::tensorflow::Scope & scope, ::tensorflow::Input condition, ::tensorflow::InputList data, const Assert::Attrs & attrs )
ตัวดำเนินการ::เทนเซอร์โฟลว์::การทำงาน
operator::tensorflow::Operation() const
ฟังก์ชันคงที่สาธารณะ
สรุป
Attrs Summarize( int64 x )