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