tensorflow :: ops :: TensorArrayGradWithShape
#include <data_flow_ops.h>
指定されたハンドルに値の複数のグラデーションを格納するためのTensorArrayを作成します。
概要
TensorArrayGradV3に似ています。ただし、勾配が計算されている入力TensorArrayと比較して、拡張された形状のアキュムレータが作成されます。これにより、同じアキュムレータを使用して、同じTensorArrayの複数の勾配を計算できます。
引数:
- スコープ:スコープオブジェクト
- handle:前方のTensorArrayへのハンドル。
- flow_in:操作の適切な連鎖を強制するfloatスカラー。
- shape_to_prepend:形状を表すint32ベクトル。グラデーションアキュムレータの要素の形状は、入力ハンドルに対応するTensorArrayの要素の形状と連結されたこのshape_to_prepend値になります。
- 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
grad_handle
::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 )