tensorflow:: אופס:: InplaceAdd

#include <array_ops.h>

מוסיף v לשורות שצוינו של x.

סיכום

מחשב y = x; y[i, :] += v; להחזיר y.

טיעונים:

  • scope: אובייקט Scope
  • x: Tensor מסוג T.
  • i: וקטור. מדדים לממד השמאלי ביותר של x .
  • v: Tensor מסוג T. אותם מידות ממדים כמו x מלבד הממד הראשון, שעליו להיות זהה לגודל i.

החזרות:

  • Output : Tensor מסוג T. כינוי של x . התוכן של y אינו מוגדר אם יש כפילויות ב- i .

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

InplaceAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input i, :: tensorflow::Input v)

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

operation
y

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

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

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

מבצע

Operation operation

y

::tensorflow::Output y

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

InplaceAdd

 InplaceAdd(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input i,
  ::tensorflow::Input v
)

צוֹמֶת

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const