tensorflow:: אופס:: CountUpTo

#include <state_ops.h>

מגדיל את 'ref' עד שהוא מגיע ל-'limit'.

סיכום

טיעונים:

  • scope: אובייקט Scope
  • ref: צריך להיות מצומת Variable סקלרי.
  • limit: אם הגדלת ref תביא אותו מעל הגבול, במקום זאת יוצרת שגיאת 'OutOfRange'.

החזרות:

  • Output : עותק של הקלט לפני ההגדלה. אם שום דבר אחר לא משנה את הקלט, הערכים שנוצרו יהיו כולם שונים.

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

CountUpTo (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, int64 limit)

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

operation
output

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

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

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

מבצע

Operation operation

תְפוּקָה

::tensorflow::Output output

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

CountUpTo

 CountUpTo(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input ref,
  int64 limit
)

צוֹמֶת

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const