TensorArrayGradWithShape

パブリック最終クラスTensorArrayGradWithShape

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

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

定数

OP_NAME TensorFlow コア エンジンによって認識される、この演算の名前

パブリックメソッド

静的TensorArrayGradWithShape
create (スコープscope、オペランド<?>ハンドル、オペランド<TFloat32> flowIn、オペランド<TInt32> shapeToPrepend、文字列ソース)
新しい TensorArrayGradWithShape オペレーションをラップするクラスを作成するファクトリ メソッド。
出力< TFloat32 >
出力<?>

継承されたメソッド

定数

パブリック静的最終文字列OP_NAME

TensorFlow コア エンジンによって認識される、この演算の名前

定数値: "TensorArrayGradWithShape"

パブリックメソッド

public static TensorArrayGradWithShape create (スコープスコープ、オペランド<?>ハンドル、オペランド<TFloat32> flowIn、オペランド<TInt32> shapeToPrepend、文字列ソース)

新しい TensorArrayGradWithShape オペレーションをラップするクラスを作成するファクトリ メソッド。

パラメーター
範囲現在のスコープ
ハンドル前方 TensorArray へのハンドル。
流れ込みます操作の適切な連鎖を強制する float スカラー。
先頭に追加する形状形状を表す int32 ベクトル。勾配アキュムレータ内の要素は、入力ハンドルに対応する TensorArray 内の要素のシェイプと連結されたこのshape_to_prepend値であるシェイプを持ちます。
ソースどの勾配 TensorArray を返すかを決定するために使用される勾配ソース文字列。
戻り値
  • TensorArrayGradWithShape の新しいインスタンス

public出力< TFloat32 > flowOut ()

public出力<?> gradHandle ()