tensorflow:: ops:: Real

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

الحجج:

المرتجعات:

  • Output : موتر الناتج.

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

Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input)
Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Real::Attrs & attrs)

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

operation
output

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

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

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

Tout (DataType x)

الهياكل

tensorflow:: ops:: Real:: Attrs

مُعدِّلات السمات الاختيارية للقيم الحقيقية .

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

عملية

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 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

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

توت

Attrs Tout(
  DataType x
)