tensorflow:: ops:: Complex

#include <math_ops.h>

يحوّل عددين حقيقيين إلى عدد مركب.

ملخص

بفرض وجود موتر real يمثل الجزء الحقيقي من عدد مركب، وموتر imag يمثل الجزء التخيلي من عدد مركب، فإن هذه العملية تُرجع أعدادًا مركبة عنصرًا بعنصر من الشكل التالي: \(a + bj\)، حيث يمثل a الجزء real ويمثل b الجزء imag .

يجب أن يكون للموترات المدخلة real imag نفس الشكل.

على سبيل المثال:

# tensor 'real' is [2.25, 3.25]
# tensor `imag` is [4.75, 5.75]
tf.complex(real, imag) ==> [[2.25 + 4.75j], [3.25 + 5.75j]]

الحجج:

المرتجعات:

  • Output : موتر الإخراج.

البناة والمدمرون

Complex (const :: tensorflow::Scope & scope, :: tensorflow::Input real, :: tensorflow::Input imag)
Complex (const :: tensorflow::Scope & scope, :: tensorflow::Input real, :: tensorflow::Input imag, const Complex::Attrs & attrs)

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

operation
out

الوظائف العامة

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

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

Tout (DataType x)

الهياكل

tensorflow:: ops:: Complex:: Attrs

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

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

عملية

Operation operation

خارج

::tensorflow::Output out

الوظائف العامة

معقد

 Complex(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input real,
  ::tensorflow::Input imag
)

معقد

 Complex(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input real,
  ::tensorflow::Input imag,
  const Complex::Attrs & attrs
)

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

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

توت

Attrs Tout(
  DataType x
)