tensorflow:: אופס:: מצבר מותנה
#include <data_flow_ops.h>
מצבר מותנה לצבירה של שיפועים.
תַקצִיר
המצבר מקבל מעברים המסומנים ב-local_step גדול או שווה ל-global_step העדכני ביותר הידוע לצבר. ניתן לחלץ את הממוצע מהמצבר, בתנאי שנצברו מספיק שיפועים. חילוץ הממוצע מאפס אוטומטית את המצטבר ל-0, ומגדיל את ה-global_step שנרשם על ידי המצבר.
טיעונים:
- scope: אובייקט Scope
- dtype: סוג הערך שנצבר.
- צורה: צורת הערכים יכולה להיות [], ובמקרה זה הצורה אינה ידועה.
מאפיינים אופציונליים (ראה Attrs
):
- מיכל: אם אינו ריק, מצבר זה ממוקם במיכל הנתון. אחרת, נעשה שימוש במיכל ברירת מחדל.
- shared_name: אם אינו ריק, מצבר זה ישותף תחת השם הנתון על פני מספר הפעלות.
החזרות:
-
Output
: הידית למצבר.
בנאים והורסים | |
---|---|
ConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape) | |
ConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, const ConditionalAccumulator::Attrs & attrs) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
פונקציות סטטיות ציבוריות | |
---|---|
Container (StringPiece x) | |
ReductionType (StringPiece x) | |
SharedName (StringPiece x) |
מבנים | |
---|---|
tensorflow:: ops:: מצבר מותנה:: Attrs | קובעי תכונות אופציונליים עבור ConditionalAccumulator . |
תכונות ציבוריות
יָדִית
::tensorflow::Output handle
מִבצָע
Operation operation
תפקידים ציבוריים
מצבר מותנה
ConditionalAccumulator( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape )
מצבר מותנה
ConditionalAccumulator( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, const ConditionalAccumulator::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const