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