টেনসরফ্লো :: অপস:: ইমেজ

#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:: image:: 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() const 

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

 operator::tensorflow::Output() const 

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

টাউট

Attrs Tout(
  DataType x
)