tensorflow:: אופס:: InplaceUpdate

#include <array_ops.h>

מעדכן שורות שצוינו עם ערכים ב- v .

סיכום

מחשב את x[i, :] = v; return x .

טיעונים:

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

החזרות:

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

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

InplaceUpdate (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

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

InplaceUpdate

 InplaceUpdate(
  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