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