تدفق التوتر:: العمليات:: تحديث

#include <array_ops.h>

يقوم بتحديث الصفوف المحددة بقيم في v .

ملخص

يحسب x[i, :] = v; return x .

الحجج:

  • النطاق: كائن النطاق
  • x: موتر من النوع T .
  • ط: ناقل. المؤشرات الموجودة في أقصى البعد الأيسر لـ 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

ذ

::tensorflow::Output y

الوظائف العامة

تحديث

 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