টেনসরফ্লো :: অপস:: কমপ্লেক্সঅ্যাবস

#include <math_ops.h>

একটি টেনসরের জটিল পরম মান গণনা করে।

সারসংক্ষেপ

জটিল সংখ্যার একটি টেনসর x দেওয়া হলে, এই ক্রিয়াকলাপটি float বা double একটি টেনসর প্রদান করে যা x এ প্রতিটি উপাদানের পরম মান। x এর সমস্ত উপাদান \(a + bj\)ফর্মের জটিল সংখ্যা হতে হবে। পরম মান \( {a^2 + b^2}\)হিসাবে গণনা করা হয়।

যুক্তি:

রিটার্ন:

  • Output : y টেনসর।

কনস্ট্রাক্টর এবং ডেস্ট্রাক্টর

ComplexAbs (const :: tensorflow::Scope & scope, :: tensorflow::Input x)
ComplexAbs (const :: tensorflow::Scope & scope, :: tensorflow::Input x, const ComplexAbs::Attrs & attrs)

পাবলিক বৈশিষ্ট্য

operation
y

পাবলিক ফাংশন

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

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

Tout (DataType x)

কাঠামো

tensorflow:: ops:: ComplexAbs:: Attrs

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

পাবলিক বৈশিষ্ট্য

অপারেশন

Operation operation

y

::tensorflow::Output y

পাবলিক ফাংশন

কমপ্লেক্সঅ্যাবস

 ComplexAbs(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

কমপ্লেক্সঅ্যাবস

 ComplexAbs(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  const ComplexAbs::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

টাউট

Attrs Tout(
  DataType x
)