tensorflow:: ops:: PaddingFIFOQueue
#include <data_flow_ops.h>先入れ先出しの順序で要素を出力するキュー。
まとめ
形状属性で対応する形状寸法を0に設定することで、可変サイズの図形を使用できます。この場合、DequeueManyはミニバッチ内の任意の要素の最大サイズまでパディングします。詳細は下記をご覧ください。
議論:
- スコープ:スコープオブジェクト
- component_types: 値に含まれる各コンポーネントのタイプ。
オプション属性( Attrs参照):
- shapes: 値内の各コンポーネントの形状。この属性の長さは、0 または component_types の長さと同じである必要があります。任意の形状次元を -1 に設定することで、ランクは固定だがサイズが可変の形状を指定できます。この場合、入力の形状は指定された次元に沿って変化する可能性があり、DequeueMany は指定されたバッチ内のすべての要素の最大形状まで、指定された次元をゼロで埋めます。この属性の長さが 0 の場合、キューの異なる要素は異なるランクと形状を持つことができますが、一度にデキューできる要素は 1 つだけです。
- 容量:このキューに格納できる要素数の上限。負の値は制限なしを意味します。
- コンテナ:空でない場合、このキューは指定されたコンテナに配置されます。空でない場合は、デフォルトのコンテナが使用されます。
- shared_name: 空でない場合、このキューは指定された名前で複数のセッション間で共有されます。
返品:
-
Output:キューへのハンドル。
コンストラクターとデストラクタ | |
|---|---|
PaddingFIFOQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types) | |
PaddingFIFOQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types, const PaddingFIFOQueue::Attrs & attrs) |
公開属性 | |
|---|---|
handle | |
operation | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
パブリック静的関数 | |
|---|---|
Capacity (int64 x) | |
Container (StringPiece x) | |
Shapes (const gtl::ArraySlice< PartialTensorShape > & x) | |
SharedName (StringPiece x) | |
構造 | |
|---|---|
| tensorflow:: ops:: PaddingFIFOQueue:: Attrs | PaddingFIFOQueueのオプション属性セッター。 |
公開属性
ハンドル
::tensorflow::Output handle
手術
Operation operation
公的機能
パディングFIFOキュー
PaddingFIFOQueue( const ::tensorflow::Scope & scope, const DataTypeSlice & component_types )
パディングFIFOキュー
PaddingFIFOQueue( const ::tensorflow::Scope & scope, const DataTypeSlice & component_types, const PaddingFIFOQueue::Attrs & attrs )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
パブリック静的関数
容量
Attrs Capacity( int64 x )
容器
Attrs Container( StringPiece x )
形状
Attrs Shapes( const gtl::ArraySlice< PartialTensorShape > & x )
共有名
Attrs SharedName( StringPiece x )