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 בממד הראשון. אורך ה-attr הזה חייב להיות זהה לאורך של component_types.

ברירת המחדל היא []

שם משותף

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

אם השדה אינו ריק, מחסום זה ישותף תחת השם הנתון על פני מספר סשנים.

ברירת המחדל היא ""