tensorflow:: אופס:: מצבר תנאי דל

#include <data_flow_ops.h>

מצבר מותנה לצבירה של שיפועים דלילים.

סיכום

המצבר מקבל מעברים המסומנים ב-local_step גדול או שווה ל-global_step העדכני ביותר הידוע לצבר. ניתן לחלץ את הממוצע מהמצבר, בתנאי שנצברו מספיק שיפועים. חילוץ הממוצע מאפס אוטומטית את המצטבר ל-0, ומגדיל את ה-global_step שנרשם על ידי המצבר.

טיעונים:

  • scope: אובייקט Scope
  • dtype: סוג הערך שנצבר.
  • צורה: צורת הערכים.

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

  • מיכל: אם אינו ריק, מצבר זה ממוקם במיכל הנתון. אחרת, נעשה שימוש במיכל ברירת מחדל.
  • shared_name: אם הוא לא ריק, מצבר זה ישותף תחת השם הנתון על פני מספר הפעלות.

החזרות:

  • Output : הידית למצבר.

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

SparseConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape)
SparseConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, const SparseConditionalAccumulator::Attrs & attrs)

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

handle
operation

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

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

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

Container (StringPiece x)
ReductionType (StringPiece x)
SharedName (StringPiece x)

מבנים

tensorflow:: ops:: SparseConditionalAccumulator:: Attrs

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

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

ידית

::tensorflow::Output handle

מבצע

Operation operation

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

מצבר תנאי דל

 SparseConditionalAccumulator(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape
)

מצבר תנאי דל

 SparseConditionalAccumulator(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape,
  const SparseConditionalAccumulator::Attrs & attrs
)

צוֹמֶת

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

מְכוֹלָה

Attrs Container(
  StringPiece x
)

ReductionType

Attrs ReductionType(
  StringPiece x
)

שם משותף

Attrs SharedName(
  StringPiece x
)