tensorflow:: ops:: Imag

#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:: Imag:: Attrs

أدوات تعيين السمات الاختيارية للصورة .

السمات العامة

عملية

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 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

توت

Attrs Tout(
  DataType x
)