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