tensorflow:: ops:: PriorityQueue:: Attrs
#include <data_flow_ops.h>PriorityQueueのオプション属性セッター。
まとめ
公開属性 | |
|---|---|
capacity_ = -1 | int64 |
component_types_ = {} | DataTypeSlice |
container_ = "" | StringPiece |
shared_name_ = "" | StringPiece |
公的機能 | |
|---|---|
Capacity (int64 x) | TF_MUST_USE_RESULT Attrsこのキュー内の要素数の上限。 |
ComponentTypes (const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs値を構成する各要素の型。 |
Container (StringPiece x) | TF_MUST_USE_RESULT Attrs空でない場合、このキューは指定されたコンテナに配置されます。 |
SharedName (StringPiece x) | TF_MUST_USE_RESULT Attrs空でない場合、このキューは指定された名前で複数のセッション間で共有されます。 |
公開属性
容量_
int64 tensorflow::ops::PriorityQueue::Attrs::capacity_ = -1
コンポーネントタイプ_
DataTypeSlice tensorflow::ops::PriorityQueue::Attrs::component_types_ = {}
容器_
StringPiece tensorflow::ops::PriorityQueue::Attrs::container_ = ""
共有名_
StringPiece tensorflow::ops::PriorityQueue::Attrs::shared_name_ = ""
公的機能
容量
TF_MUST_USE_RESULT Attrs tensorflow::ops::PriorityQueue::Attrs::Capacity( int64 x )
このキュー内の要素数の上限。
負の数は制限がないことを意味します。
デフォルト値は-1です。
コンポーネントタイプ
TF_MUST_USE_RESULT Attrs tensorflow::ops::PriorityQueue::Attrs::ComponentTypes( const DataTypeSlice & x )
値を構成する各要素の型。
デフォルトは[]
容器
TF_MUST_USE_RESULT Attrs tensorflow::ops::PriorityQueue::Attrs::Container( StringPiece x )
空でない場合、このキューは指定されたコンテナに配置されます。
それ以外の場合は、デフォルトのコンテナが使用されます。
デフォルトは ""
共有名
TF_MUST_USE_RESULT Attrs tensorflow::ops::PriorityQueue::Attrs::SharedName( StringPiece x )
空でない場合、このキューは指定された名前で複数のセッション間で共有されます。
デフォルトは ""