tensorflow:: אופס:: רִיאָל
#include <math_ops.h>
מחזירה את החלק האמיתי של מספר מרוכב.
תַקצִיר
בהינתן input
טנזור של מספרים מרוכבים, פעולה זו מחזירה טנזור מסוג float
שהוא החלק האמיתי של כל אלמנט input
. כל האלמנטים input
חייבים להיות מספרים מרוכבים של הטופס \(a + bj\), כאשר a הוא החלק האמיתי המוחזר על ידי פעולה זו ו- b הוא החלק הדמיוני.
לְדוּגמָה:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j] tf.real(input) ==> [-2.25, 3.25]
טיעונים:
- scope: אובייקט Scope
החזרות:
-
Output
: טנזור הפלט.
בנאים והורסים | |
---|---|
Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Real::Attrs & attrs) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
מבנים | |
---|---|
tensorflow:: ops:: אמיתי:: Attrs | קובעי תכונות אופציונליים עבור Real . |
תכונות ציבוריות
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
רִיאָל
Real( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
רִיאָל
Real( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Real::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
לְסַפְסֵר
Attrs Tout( DataType x )