tensorflow:: ops:: InplaceAdd

#include <array_ops.h>

xの指定された行にvを追加します。

まとめ

y = x; y[i, :] += v; を計算し、y を返します。

議論:

  • スコープ:スコープオブジェクト
  • x: 型TのTensor 。
  • i: ベクトルxの最も左の次元へのインデックス。
  • v: 型TのTensor最初の次元を除き、xと同じ次元サイズです。最初の次元はiのサイズと同じでなければなりません。

返品:

  • Output : 型 T のTensor 。x の別名xに重複がある場合i yの内容は未定義です。

コンストラクターとデストラクタ

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

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const