テンソルフロー::作戦:: TensorArrayGradWithShape

#include <data_flow_ops.h>

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

まとめ

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

引数:

  • スコープ:スコープオブジェクト
  • handle: 前方TensorArrayへのハンドル。
  • flow_in: 操作の適切な連鎖を強制する浮動小数点スカラー。
  • 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

グラッドハンドル

::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
)