tensorflow:: ops:: PaddingFIFOQueue:: Attrs
#include <data_flow_ops.h>PaddingFIFOQueueのオプション属性セッター。
まとめ
公開属性 | |
|---|---|
capacity_ = -1 | int64 |
container_ = "" | StringPiece |
shapes_ = {} | gtl::ArraySlice< PartialTensorShape > |
shared_name_ = "" | StringPiece |
公的機能 | |
|---|---|
Capacity (int64 x) | TF_MUST_USE_RESULT Attrsこのキュー内の要素数の上限。 |
Container (StringPiece x) | TF_MUST_USE_RESULT Attrs空でない場合、このキューは指定されたコンテナに配置されます。 |
Shapes (const gtl::ArraySlice< PartialTensorShape > & x) | TF_MUST_USE_RESULT Attrs値を構成する各要素の形状。 |
SharedName (StringPiece x) | TF_MUST_USE_RESULT Attrs空でない場合、このキューは指定された名前で複数のセッション間で共有されます。 |
公開属性
容量_
int64 tensorflow::ops::PaddingFIFOQueue::Attrs::capacity_ = -1
容器_
StringPiece tensorflow::ops::PaddingFIFOQueue::Attrs::container_ = ""
形状_
gtl::ArraySlice< PartialTensorShape > tensorflow::ops::PaddingFIFOQueue::Attrs::shapes_ = {}共有名_
StringPiece tensorflow::ops::PaddingFIFOQueue::Attrs::shared_name_ = ""
公的機能
容量
TF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::Capacity( int64 x )
このキュー内の要素数の上限。
負の数は制限がないことを意味します。
デフォルト値は-1です。
容器
TF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::Container( StringPiece x )
空でない場合、このキューは指定されたコンテナに配置されます。
それ以外の場合は、デフォルトのコンテナが使用されます。
デフォルトは ""
形状
TF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::Shapes( const gtl::ArraySlice< PartialTensorShape > & x )
値を構成する各要素の形状。
この属性の長さは、0 または component_types の長さと同じである必要があります。任意の形状次元を -1 に設定することで、ランクは固定だがサイズが可変の形状を使用できます。この場合、入力の形状は指定された次元に沿って変化する可能性があり、DequeueMany は指定されたバッチ内のすべての要素の最大形状まで、指定された次元をゼロで埋めます。この属性の長さが 0 の場合、異なるキュー要素は異なるランクと形状を持つことができますが、一度にデキューできる要素は 1 つだけです。
デフォルトは[]
共有名
TF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::SharedName( StringPiece x )
空でない場合、このキューは指定された名前で複数のセッション間で共有されます。
デフォルトは ""