Google I/O-তে টিউন করার জন্য ধন্যবাদ। চাহিদা অনুযায়ী সব সেশন দেখুন চাহিদা অনুযায়ী দেখুন

সেন্সরফ্লো :: অপস :: কোণ

#include <math_ops.h>

একটি জটিল সংখ্যার আর্গুমেন্ট প্রদান করে।

সারসংক্ষেপ

একটি টেন্সর দেওয়া input জটিল সংখ্যার, এই অপারেশন ধরনের টেন্সর ফেরৎ float প্রতিটি উপাদান যুক্তি যে inputinput থাকা সমস্ত উপাদানগুলি অবশ্যই \(a + bj\) ফর্মের জটিল সংখ্যা থাকতে হবে, যেখানে a আসল অংশ এবং কাল্পনিক অংশ।

এই অপারেশন দ্বারা ফিরে আর্গুমেন্ট \(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)

স্ট্রাক্টস

টেনসরফ্লো :: অপস :: অ্যাঙ্গেল :: অ্যাটারস

অ্যাঙ্গেলের জন্য ptionচ্ছিক অ্যাট্রিবিউট সেটটার।

জনসাধারণের গুণাবলী

অপারেশন

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
)