テンソルフロー::作戦:: FIFOキュー::属性

#include <data_flow_ops.h>

FIFOQueueのオプションの属性セッター。

まとめ

パブリック属性

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::FIFOQueue::Attrs::capacity_ = -1

容器_

StringPiece tensorflow::ops::FIFOQueue::Attrs::container_ = ""

形状_

gtl::ArraySlice< PartialTensorShape > tensorflow::ops::FIFOQueue::Attrs::shapes_ = {}

共有名_

StringPiece tensorflow::ops::FIFOQueue::Attrs::shared_name_ = ""

公共機能

容量

TF_MUST_USE_RESULT Attrs tensorflow::ops::FIFOQueue::Attrs::Capacity(
  int64 x
)

このキュー内の要素数の上限。

負の数は制限がないことを意味します。

デフォルトは -1

容器

TF_MUST_USE_RESULT Attrs tensorflow::ops::FIFOQueue::Attrs::Container(
  StringPiece x
)

空でない場合、このキューは指定されたコンテナーに配置されます。

それ以外の場合は、デフォルトのコンテナが使用されます。

デフォルトは「」です

形状

TF_MUST_USE_RESULT Attrs tensorflow::ops::FIFOQueue::Attrs::Shapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

値の各コンポーネントの形状。

この属性の長さは 0 であるか、component_types の長さと同じである必要があります。この属性の長さが 0 の場合、キュー要素の形状は制約されず、一度に 1 つの要素だけをデキューできます。

デフォルトは []

共有名

TF_MUST_USE_RESULT Attrs tensorflow::ops::FIFOQueue::Attrs::SharedName(
  StringPiece x
)

空でない場合、このキューは指定された名前で複数のセッション間で共有されます。

デフォルトは「」です