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.imag(input) ==> [4.75, 5.75]
טיעונים:
- scope: אובייקט Scope
החזרות:
-
Output
: טנסור הפלט.
בנאים והורסים | |
---|---|
Imag (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
Imag (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Imag::Attrs & attrs) |
תכונות ציבוריות | |
---|---|
operation | |
output |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
פונקציות סטטיות ציבוריות | |
---|---|
Tout (DataType x) |
מבנים | |
---|---|
tensorflow:: ops:: תמונה:: Attrs | קובעי תכונות אופציונליים עבור Imag . |
תכונות ציבוריות
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
תמונה
Imag( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
תמונה
Imag( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Imag::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
לְסַפְסֵר
Attrs Tout( DataType x )