tensorflow:: ops:: FIFOQueue

#include <data_flow_ops.h>

תור שמייצר אלמנטים בסדר "נכנס ראשון, יוצא ראשון".

תַקצִיר

טיעונים:

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

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

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

החזרות:

  • Output : ה-handle לתור.

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

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

מאפיינים ציבוריים

handle
operation

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

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

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

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

מבנים

tensorflow:: ops:: FIFOQueue:: Attrs

קובעי מאפיינים אופציונליים עבור FIFOQueue .

מאפיינים ציבוריים

יָדִית

::tensorflow::Output handle

מִבצָע

Operation operation

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

תור FIFO

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

תור FIFO

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

צוֹמֶת

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

יְכוֹלֶת

Attrs Capacity(
  int64 x
)

מְכוֹלָה

Attrs Container(
  StringPiece x
)

צורות

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

שם משותף

Attrs SharedName(
  StringPiece x
)