tensorflow:: ops:: AssignSub

#include <state_ops.h>

قم بتحديث 'ref' عن طريق طرح 'value' منه.

ملخص

تُخرج هذه العملية القيمة "ref" بعد اكتمال التحديث. وهذا يُسهّل ربط العمليات التي تحتاج إلى استخدام قيمة إعادة التعيين.

الحجج:

  • النطاق: كائن النطاق
  • المرجع: يجب أن يكون من عقدة Variable .
  • القيمة: القيمة المراد طرحها من المتغير.

السمات الاختيارية (انظر Attrs ):

  • استخدام القفل: إذا كانت القيمة صحيحة، فسيتم حماية عملية الطرح بواسطة قفل؛ وإلا فإن السلوك غير محدد، ولكنه قد يُظهر قدرًا أقل من التنازع.

المرتجعات:

  • Output : = نفس قيمة "ref". يتم إرجاعه لتسهيل العمليات التي ترغب في استخدام القيمة الجديدة بعد تحديث المتغير.

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

AssignSub (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, :: tensorflow::Input value)
AssignSub (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, :: tensorflow::Input value, const AssignSub::Attrs & attrs)

السمات العامة

operation
output_ref

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

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

الدوال الثابتة العامة

UseLocking (bool x)

الهياكل

tensorflow:: ops:: AssignSub:: Attrs

أدوات تعيين السمات الاختيارية لـ AssignSub .

السمات العامة

عملية

Operation operation

output_ref

::tensorflow::Output output_ref

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

تعيين فرعي

 AssignSub(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input ref,
  ::tensorflow::Input value
)

تعيين فرعي

 AssignSub(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input ref,
  ::tensorflow::Input value,
  const AssignSub::Attrs & attrs
)

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

قفل الاستخدام

Attrs UseLocking(
  bool x
)