tensorflow:: ops:: Assert
#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) | |
โครงสร้าง | |
|---|---|
| tensorflow:: ops:: Assert:: 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 )