tensorflow::ops::InplaceAdd
#include <array_ops.h>เพิ่มค่า v ลงในแถวที่ระบุของค่า x
สรุป
คำนวณ y = x; y[i, :] += v; ส่งคืน y
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- x:
Tensorชนิด T - i: เวกเตอร์ ดัชนีที่ชี้ไปยังมิติซ้ายสุดของ
x - v:
Tensorชนิด T มีขนาดมิติเท่ากับ x ยกเว้นมิติแรกซึ่งต้องมีขนาดเท่ากับ i
การส่งคืนสินค้า:
ตัวสร้างและตัวทำลาย | |
|---|---|
InplaceAdd (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
หน้าที่สาธารณะ
เพิ่มในที่
InplaceAdd( 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