تدفق التوتر:: العمليات:: كومبلكس أبس
#include <math_ops.h>
يحسب القيمة المطلقة المعقدة للموتر.
ملخص
بالنظر إلى موتر x
من الأعداد المركبة، تُرجع هذه العملية موترًا من النوع float
أو double
وهو القيمة المطلقة لكل عنصر في x
. جميع العناصر في x
يجب أن تكون أرقامًا مركبة من النموذج \(a + bj\). يتم حساب القيمة المطلقة كما \( {a^2 + b^2}\).
الحجج:
- النطاق: كائن النطاق
العوائد:
-
Output
: الموتر y.
البنائين والمدمرين | |
---|---|
ComplexAbs (const :: tensorflow::Scope & scope, :: tensorflow::Input x) | |
ComplexAbs (const :: tensorflow::Scope & scope, :: tensorflow::Input x, const ComplexAbs::Attrs & attrs) |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
الهياكل | |
---|---|
Tensorflow:: ops:: ComplexAbs:: Attrs | محددات السمات الاختيارية لـ ComplexAbs . |
الصفات العامة
عملية
Operation operation
ذ
::tensorflow::Output y
الوظائف العامة
كومبلكس أبس
ComplexAbs( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
كومبلكس أبس
ComplexAbs( const ::tensorflow::Scope & scope, ::tensorflow::Input x, const ComplexAbs::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const
وظائف ثابتة العامة
توت
Attrs Tout( DataType x )