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

Complex-এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার।

জনসাধারণের বৈশিষ্ট্য

অপারেশন

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() const 

অপারেটর::টেনসরফ্লো::আউটপুট

 operator::tensorflow::Output() const 

পাবলিক স্ট্যাটিক ফাংশন

টুট

Attrs Tout(
  DataType x
)