tensorflow:: ops:: Barrier:: Attrs

#include <data_flow_ops.h>

Barrierのオプション属性設定子。

まとめ

公開属性

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

容器_

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

形状_

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

共有名_

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

公的機能

容量

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

障壁の容量。

デフォルトの容量はMAX_INT32で、これは基となるキューの最大容量です。

デフォルト値は-1です。

容器

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

空でない場合、この障壁は指定された容器内に配置される。

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

デフォルトは ""

形状

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

値を構成する各要素の形状。

各形状は、1次元目が1でなければなりません。この属性の長さは、component_typesの長さと同じでなければなりません。

デフォルトは[]

共有名

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

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

デフォルトは ""