tensorflow:: אופס:: ComplexAbs
#include <math_ops.h>
מחשב את הערך המוחלט המורכב של טנזור.
תַקצִיר
בהינתן טנסור x
של מספרים מרוכבים, פעולה זו מחזירה טנזור מסוג float
או double
שהוא הערך המוחלט של כל אלמנט ב- x
. כל האלמנטים ב- x
חייבים להיות מספרים מרוכבים של הצורה \(a + bj\). הערך המוחלט מחושב כ \( {a^2 + b^2}\).
טיעונים:
- scope: אובייקט Scope
החזרות:
-
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
y
::tensorflow::Output y
תפקידים ציבוריים
ComplexAbs
ComplexAbs( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
ComplexAbs
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 )