tensorflow:: ops:: Angle
#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:: Angle:: Attrs | Angle-এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার। |
জনসাধারণের বৈশিষ্ট্য
অপারেশন
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 )