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 Tensor bertipe T.
  • i: Sebuah vektor. Indeks ke dimensi paling kiri dari x .
  • v: Sebuah Tensor bertipe T. Ukuran dimensinya sama dengan x kecuali dimensi pertama, yang harus sama dengan ukuran i.

Mengembalikan:

  • Output : Sebuah Tensor bertipe T. Sebuah alias dari x . Isi dari y tidak terdefinisi jika terdapat duplikat dalam i .

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