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

সেন্সরফ্লো :: অপস :: বাস্তব

#include <math_ops.h>

একটি জটিল সংখ্যার আসল অংশ প্রদান করে।

সারসংক্ষেপ

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

উদাহরণ স্বরূপ:

# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j]
tf.real(input) ==> [-2.25, 3.25]

যুক্তি:

রিটার্নস:

  • Output : আউটপুট টেনসর।

নির্মাণকারী এবং ধ্বংসকারী

Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input)
Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Real::Attrs & attrs)

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

operation
output

পাবলিক ফাংশন

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

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

Tout (DataType x)

স্ট্রাক্টস

টেনসরফ্লো :: অপ্স :: রিয়েল :: অ্যাটারস

রিয়েল জন্য alচ্ছিক বৈশিষ্ট্য সেটটার।

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

বাস্তব

 Real(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

বাস্তব

 Real(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const Real::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

টাউট

Attrs Tout(
  DataType x
)