tensorflow:: אופס:: RandomShuffleQueue

#include <data_flow_ops.h>

תור שהופך את סדר האלמנטים באקראי.

סיכום

טיעונים:

  • scope: אובייקט Scope
  • component_types: הסוג של כל רכיב בערך.

מאפיינים אופציונליים (ראה Attrs ):

  • צורות: הצורה של כל רכיב בערך. האורך של attr זה חייב להיות 0 או זהה לאורך של component_types. אם אורכו של attr זה הוא 0, הצורות של רכיבי תור אינן מוגבלות, ורק אלמנט אחד יכול להיות מנותק בתור בכל פעם.
  • יכולת: הגבול העליון של מספר האלמנטים בתור זה. מספרים שליליים פירושם ללא הגבלה.
  • min_after_dequeue: Dequeue ייחסם אלא אם יהיו כל כך הרבה אלמנטים לאחר סגירת התור או התור. זה מבטיח רמה מינימלית של ערבוב של אלמנטים.
  • seed: אם ה-seed או seed2 מוגדרים כלא-אפס, מחולל המספרים האקראיים מוזרע על ידי ה-seed הנתון. אחרת, נעשה שימוש בזרע אקראי.
  • seed2: זרע שני כדי למנוע התנגשות זרע.
  • מיכל: אם אינו ריק, תור זה ממוקם במיכל הנתון. אחרת, נעשה שימוש במיכל ברירת מחדל.
  • shared_name: אם התור אינו ריק, תור זה ישותף תחת השם הנתון על פני מספר הפעלות.

החזרות:

  • Output : הידית לתור.

בנאים והורסים

RandomShuffleQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types)
RandomShuffleQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types, const RandomShuffleQueue::Attrs & attrs)

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

handle
operation

תפקידים ציבוריים

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

פונקציות סטטיות ציבוריות

Capacity (int64 x)
Container (StringPiece x)
MinAfterDequeue (int64 x)
Seed (int64 x)
Seed2 (int64 x)
Shapes (const gtl::ArraySlice< PartialTensorShape > & x)
SharedName (StringPiece x)

מבנים

tensorflow:: ops:: RandomShuffleQueue:: Attrs

קובעי תכונות אופציונליים עבור RandomShuffleQueue .

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

ידית

::tensorflow::Output handle

מבצע

Operation operation

תפקידים ציבוריים

RandomShuffleQueue

 RandomShuffleQueue(
  const ::tensorflow::Scope & scope,
  const DataTypeSlice & component_types
)

RandomShuffleQueue

 RandomShuffleQueue(
  const ::tensorflow::Scope & scope,
  const DataTypeSlice & component_types,
  const RandomShuffleQueue::Attrs & attrs
)

צוֹמֶת

::tensorflow::Node * node() const 

מפעיל::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const 

פונקציות סטטיות ציבוריות

קיבולת

Attrs Capacity(
  int64 x
)

מְכוֹלָה

Attrs Container(
  StringPiece x
)

MinAfterDequeue

Attrs MinAfterDequeue(
  int64 x
)

זֶרַע

Attrs Seed(
  int64 x
)

זרע 2

Attrs Seed2(
  int64 x
)

צורות

Attrs Shapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

שם משותף

Attrs SharedName(
  StringPiece x
)