เทนเซอร์โฟลว์:: ปฏิบัติการ:: ว่างเปล่า
#include <array_ops.h>สร้างเทนเซอร์ตามรูปร่างที่กำหนด
สรุป
 การดำเนินการนี้จะสร้างเทนเซอร์ของ shape และ dtype
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- รูปร่าง: 1-D แสดงถึงรูปร่างของเทนเซอร์เอาท์พุต
 แอ็ตทริบิวต์ทางเลือก (ดู Attrs ):
- init: หากเป็น True ให้เตรียมใช้งานเทนเซอร์ที่ส่งคืนด้วยค่าเริ่มต้นเป็น dtype มิฉะนั้น การนำไปปฏิบัตินั้นฟรีที่จะไม่เริ่มต้นเนื้อหาของเทนเซอร์
ผลตอบแทน:
| ตัวสร้างและผู้ทำลาย | |
|---|---|
| Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype) | |
| Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs) | 
| คุณลักษณะสาธารณะ | |
|---|---|
| operation | |
| output | |
| งานสาธารณะ | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| ฟังก์ชันคงที่สาธารณะ | |
|---|---|
| Init (bool x) | |
| โครงสร้าง | |
|---|---|
| เทนเซอร์โฟลว์ :: ops :: ว่างเปล่า :: Attrs | ตัวตั้งค่าคุณลักษณะเพิ่มเติมสำหรับ Empty | 
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
เอาท์พุท
::tensorflow::Output output
งานสาธารณะ
ว่างเปล่า
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
ว่างเปล่า
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::tensorflow::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::tensorflow::เอาต์พุต
operator::tensorflow::Output() const
ฟังก์ชันคงที่สาธารณะ
เริ่มต้น
Attrs Init( bool x )