tensorflow:: ops:: תמונה

#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]

טיעונים:

החזרות:

  • 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
)