tensorflow:: ops:: RandomShuffleQueue
#include <data_flow_ops.h>要素の順序をランダム化するキュー。
まとめ
議論:
- スコープ:スコープオブジェクト
- component_types: 値に含まれる各コンポーネントのタイプ。
オプション属性( Attrs参照):
- shapes: 値内の各コンポーネントの形状。この属性の長さは、0 または component_types の長さと同じである必要があります。この属性の長さが 0 の場合、キュー要素の形状は制約されず、一度に 1 つの要素しか取り出すことができません。
- 容量:このキューに格納できる要素数の上限。負の値は制限なしを意味します。
- min_after_dequeue: デキュー後にこの数の要素が存在するか、キューが閉じられるまで、デキューはブロックされます。これにより、要素の混合が最小限に抑えられます。
- seed: seedまたはseed2のいずれかがゼロ以外の値に設定されている場合、乱数生成器は指定されたシード値で初期化されます。それ以外の場合は、ランダムなシード値が使用されます。
- seed2: シードの衝突を避けるための2つ目のシード。
- コンテナ:空でない場合、このキューは指定されたコンテナに配置されます。空でない場合は、デフォルトのコンテナが使用されます。
- shared_name: 空でない場合、このキューは指定された名前で複数のセッション間で共有されます。
返品:
-
Output:キューへのハンドル。
コンストラクターとデストラクタ | |
|---|---|
RandomShuffleQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types) | |
RandomShuffleQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types, const RandomShuffleQueue::Attrs & attrs) |
公開属性 | |
|---|---|
handle | |
operation | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
パブリック静的関数 | |
|---|---|
Capacity (int64 x) | |
Container (StringPiece x) | |
MinAfterDequeue (int64 x) | |
Seed (int64 x) | |
Seed2 (int64 x) | |
Shapes (const gtl::ArraySlice< PartialTensorShape > & x) | |
SharedName (StringPiece x) | |
構造 | |
|---|---|
| tensorflow:: ops:: RandomShuffleQueue:: Attrs | RandomShuffleQueueのオプション属性セッター。 |
公開属性
ハンドル
::tensorflow::Output handle
手術
Operation operation
公的機能
ランダムシャッフルキュー
RandomShuffleQueue( const ::tensorflow::Scope & scope, const DataTypeSlice & component_types )
ランダムシャッフルキュー
RandomShuffleQueue( const ::tensorflow::Scope & scope, const DataTypeSlice & component_types, const RandomShuffleQueue::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 )
MinAfterDequeue
Attrs MinAfterDequeue( int64 x )
シード
Attrs Seed( int64 x )
シード2
Attrs Seed2( int64 x )
形状
Attrs Shapes( const gtl::ArraySlice< PartialTensorShape > & x )
共有名
Attrs SharedName( StringPiece x )