tensorflow:: ops:: InplaceSub

#include <array_ops.h>

يطرح v من صفوف محددة من x .

ملخص

يحسب y = x؛ y[i, :] -= v؛ ثم يُرجع y.

الحجج:

  • النطاق: كائن النطاق
  • x: Tensor من النوع T.
  • i: متجه. مؤشرات في البعد الأيسر من x .
  • v: Tensor من النوع T. له نفس أحجام الأبعاد مثل x باستثناء البعد الأول، والذي يجب أن يكون بنفس حجم i.

المرتجعات:

  • Output : Tensor من النوع T. اسم بديل لـ x . محتوى y غير مُعرَّف إذا كانت هناك قيم مكررة في i .

البناة والمدمرون

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

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

InplaceSub

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

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const