tensorflow::ops::InplaceAdd
#include <array_ops.h>Menambahkan v ke baris x yang ditentukan.
Ringkasan
Menghitung y = x; y[i, :] += v; mengembalikan y.
Argumen:
- Cakupan: Objek Cakupan
- x: Sebuah
Tensorbertipe T. - i: Sebuah vektor. Indeks ke dimensi paling kiri dari
x. - v: Sebuah
Tensorbertipe T. Ukuran dimensinya sama dengan x kecuali dimensi pertama, yang harus sama dengan ukuran i.
Mengembalikan:
-
Output: SebuahTensorbertipe T. Sebuah alias darix. Isi dariytidak terdefinisi jika terdapat duplikat dalami.
Konstruktor dan Destruktor | |
|---|---|
InplaceAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input i, :: tensorflow::Input v) |
Atribut publik | |
|---|---|
operation | |
y | |
Fungsi publik | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Atribut publik
operasi
Operation operation
y
::tensorflow::Output y
Fungsi publik
Tambahkan di tempat
InplaceAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input i, ::tensorflow::Input v )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const