tensorflow::ops::TensorArrayClose
#include <data_flow_ops.h>ลบ TensorArray ออกจากคอนเทนเนอร์ทรัพยากร
สรุป
วิธีนี้ช่วยให้ผู้ใช้สามารถปิดและปล่อยทรัพยากรได้ในระหว่างขั้นตอน/การทำงาน
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- handle: ตัวชี้ไปยัง TensorArray (ผลลัพธ์จาก TensorArray หรือ TensorArrayGrad )
การส่งคืนสินค้า:
-
Operationที่สร้างขึ้น
ตัวสร้างและตัวทำลาย | |
|---|---|
TensorArrayClose (const :: tensorflow::Scope & scope, :: tensorflow::Input handle) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
หน้าที่สาธารณะ | |
|---|---|
operator::tensorflow::Operation () const | |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
หน้าที่สาธารณะ
ปิดเทนเซอร์อาร์เรย์
TensorArrayClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle )
ตัวดำเนินการ::เทนเซอร์โฟลว์::การดำเนินการ
operator::tensorflow::Operation() const