tensorflow:: ops:: TensorArrayGradWithShape

#include <data_flow_ops.h>

指定されたハンドル内の値の複数の勾配を格納するためのTensorArrayを作成します。

まとめ

TensorArrayGradV3 と似ていますが、勾配を計算する入力TensorArrayよりも形状が拡張されたアキュムレータを作成します。これにより、同じアキュムレータを使用して、同じTensorArrayの複数の勾配を計算できます。

議論:

  • スコープ:スコープオブジェクト
  • handle: 前方TensorArrayへのハンドル。
  • flow_in: 演算の適切な連鎖を強制する浮動小数点スカラー。
  • shape_to_prepend: 形状を表すint32型のベクトル。勾配アキュムレータ内の要素の形状は、このshape_to_prependの値と、入力ハンドルに対応するTensorArray内の要素の形状を連結したものになります。
  • source: 勾配ソース文字列。どの勾配TensorArrayを返すかを決定するために使用されます。

返品:

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

TensorArrayGradWithShape (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input flow_in, :: tensorflow::Input shape_to_prepend, StringPiece source)

公開属性

flow_out
grad_handle
operation

公開属性

フローアウト

::tensorflow::Output flow_out

卒業ハンドル

::tensorflow::Output grad_handle

手術

Operation operation

公的機能

TensorArrayGradWithShape

 TensorArrayGradWithShape(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input flow_in,
  ::tensorflow::Input shape_to_prepend,
  StringPiece source
)