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

#include <math_ops.h>

يحسب عنصر القيمة السلبية العددية.

ملخص

على سبيل المثال، \(y = -x\).

الحجج:

عائدات:

اسماء مستعارة:

  • نيج

البنائين والمدمرين

Negate (const :: tensorflow::Scope & scope, :: tensorflow::Input x)

الصفات العامة

operation
y

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

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

الصفات العامة

عملية

Operation operation

ذ

::tensorflow::Output y

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

نفي

 Negate(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

العقدة

::tensorflow::Node * node() const 

المشغل::tensorflow::الإدخال

 operator::tensorflow::Input() const 

المشغل::tensorflow::الإخراج

 operator::tensorflow::Output() const