tensorflow:: ops:: TensorArrayGather
#include <data_flow_ops.h> TensorArrayから特定の要素を収集して出力valueにします。
まとめ
indicesによって選択されるすべての要素は、同じ形状でなければなりません。
議論:
- スコープ:スコープオブジェクト
- handle: TensorArrayのハンドル。
- インデックス: TensorArray内でテンソル要素を読み取る位置。
- flow_in: 演算の適切な連鎖を強制する浮動小数点スカラー。
- dtype: 返される要素の型。
オプション属性( Attrs参照):
- element_shape: 要素の期待される形状(既知の場合)。TensorArray要素の形状を検証するために使用されます。この形状が完全に指定されていない場合、サイズがゼロのTensorArrayを収集するとエラーになります。
返品:
-
Output: TensorArray内のすべての要素を、新しい軸(新しい次元0)に沿って連結したもの。
コンストラクターとデストラクタ | |
|---|---|
TensorArrayGather (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input indices, :: tensorflow::Input flow_in, DataType dtype) | |
TensorArrayGather (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input indices, :: tensorflow::Input flow_in, DataType dtype, const TensorArrayGather::Attrs & attrs) |
公開属性 | |
|---|---|
operation | |
value | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
パブリック静的関数 | |
|---|---|
ElementShape (PartialTensorShape x) | |
構造 | |
|---|---|
| tensorflow:: ops:: TensorArrayGather:: Attrs | TensorArrayGatherのオプション属性セッター。 |
公開属性
手術
Operation operation
価値
::tensorflow::Output value
公的機能
TensorArrayGather
TensorArrayGather( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input indices, ::tensorflow::Input flow_in, DataType dtype )
TensorArrayGather
TensorArrayGather( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input indices, ::tensorflow::Input flow_in, DataType dtype, const TensorArrayGather::Attrs & attrs )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
パブリック静的関数
要素形状
Attrs ElementShape( PartialTensorShape x )