tensorflow:: אופס:: מַחסוֹם:: Attrs

#include <data_flow_ops.h>

מגדירי תכונות אופציונליים עבור מחסום .

סיכום

תכונות ציבוריות

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
)

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

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