เทนเซอร์โฟลว์ :: ops :: InplaceUpdate
#include <array_ops.h> อัปเดตแถวที่ระบุด้วยค่าใน v
สรุป
คำนวณ x[i, :] = v; return x
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- x: เทนเซอร์ชนิด
T - i: เวกเตอร์ ดัชนีที่ชี้ไปยังมิติซ้ายสุดของ
x - v:
Tensorชนิด T มีขนาดมิติเท่ากับ x ยกเว้นมิติแรกซึ่งต้องมีขนาดเท่ากับ i
การส่งคืนสินค้า:
ตัวสร้างและตัวทำลาย | |
|---|---|
InplaceUpdate (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input i, :: tensorflow::Input v) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
y | |
หน้าที่สาธารณะ | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
y
::tensorflow::Output y
หน้าที่สาธารณะ
อัปเดตทันที
InplaceUpdate( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input i, ::tensorflow::Input v )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต
operator::tensorflow::Output() const