tensorflow:: אופס:: ResourceCountUpTo

#include <state_ops.h>

מגדיל את המשתנה שמצביע עליו 'משאב' עד שהוא מגיע ל'מגבלה'.

סיכום

טיעונים:

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

החזרות:

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

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

ResourceCountUpTo (const :: tensorflow::Scope & scope, :: tensorflow::Input resource, int64 limit, DataType T)

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

operation
output

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

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

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

מבצע

Operation operation

תְפוּקָה

::tensorflow::Output output

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

ResourceCountUpTo

 ResourceCountUpTo(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input resource,
  int64 limit,
  DataType T
)

צוֹמֶת

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const