tensorflow :: অপস:: কোণ
#include <math_ops.h>
একটি জটিল সংখ্যার যুক্তি প্রদান করে।
সারসংক্ষেপ
জটিল সংখ্যার একটি টেনসর input
দেওয়া হলে, এই অপারেশনটি float
টাইপের একটি টেনসর প্রদান করে যা input
প্রতিটি উপাদানের আর্গুমেন্ট। input
সমস্ত উপাদান অবশ্যই \(a + bj\)ফর্মের জটিল সংখ্যা হতে হবে, যেখানে a হল বাস্তব অংশ এবং b হল কাল্পনিক অংশ।
এই ক্রিয়াকলাপ দ্বারা প্রত্যাবর্তিত যুক্তিটি \(atan2(b, a)\)ফর্মের।
উদাহরণ স্বরূপ:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j] tf.angle(input) ==> [2.0132, 1.056]
(numpy) np.angle এর সমতুল্য।
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
রিটার্ন:
-
Output
: আউটপুট টেনসর।
কনস্ট্রাক্টর এবং ডেস্ট্রাক্টর | |
---|---|
Angle (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
Angle (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Angle::Attrs & attrs) |
পাবলিক বৈশিষ্ট্য | |
---|---|
operation | |
output |
পাবলিক ফাংশন | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
পাবলিক স্ট্যাটিক ফাংশন | |
---|---|
Tout (DataType x) |
কাঠামো | |
---|---|
tensorflow:: ops:: কোণ:: Attrs | অ্যাঙ্গেলের জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার। |
পাবলিক বৈশিষ্ট্য
অপারেশন
Operation operation
আউটপুট
::tensorflow::Output output
পাবলিক ফাংশন
কোণ
Angle( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
কোণ
Angle( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Angle::Attrs & attrs )
নোড
::tensorflow::Node * node() const
অপারেটর::টেনসরফ্লো::ইনপুট
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
টাউট
Attrs Tout( DataType x )
tensorflow :: অপস:: কোণ
#include <math_ops.h>
একটি জটিল সংখ্যার যুক্তি প্রদান করে।
সারসংক্ষেপ
জটিল সংখ্যার একটি টেনসর input
দেওয়া হলে, এই অপারেশনটি float
টাইপের একটি টেনসর প্রদান করে যা input
প্রতিটি উপাদানের আর্গুমেন্ট। input
সমস্ত উপাদান অবশ্যই \(a + bj\)ফর্মের জটিল সংখ্যা হতে হবে, যেখানে a হল বাস্তব অংশ এবং b হল কাল্পনিক অংশ।
এই ক্রিয়াকলাপ দ্বারা প্রত্যাবর্তিত যুক্তিটি \(atan2(b, a)\)ফর্মের।
উদাহরণ স্বরূপ:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j] tf.angle(input) ==> [2.0132, 1.056]
(numpy) np.angle এর সমতুল্য।
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
রিটার্ন:
-
Output
: আউটপুট টেনসর।
কনস্ট্রাক্টর এবং ডেস্ট্রাক্টর | |
---|---|
Angle (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
Angle (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Angle::Attrs & attrs) |
পাবলিক বৈশিষ্ট্য | |
---|---|
operation | |
output |
পাবলিক ফাংশন | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
পাবলিক স্ট্যাটিক ফাংশন | |
---|---|
Tout (DataType x) |
কাঠামো | |
---|---|
tensorflow:: ops:: কোণ:: Attrs | অ্যাঙ্গেলের জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার। |
পাবলিক বৈশিষ্ট্য
অপারেশন
Operation operation
আউটপুট
::tensorflow::Output output
পাবলিক ফাংশন
কোণ
Angle( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
কোণ
Angle( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Angle::Attrs & attrs )
নোড
::tensorflow::Node * node() const
অপারেটর::টেনসরফ্লো::ইনপুট
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
টাউট
Attrs Tout( DataType x )