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