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