tensorflow:: ops:: Exp
#include <math_ops.h>Computes exponential of x element-wise.
সারসংক্ষেপ
\(y = e^x\).
এই ফাংশনটি ইনপুট টেনসরের প্রতিটি উপাদানের এক্সপোনেনশিয়াল গণনা করে। অর্থাৎ exp(x) বা e^(x) , যেখানে x হলো ইনপুট টেনসর। e হলো ইউলারের সংখ্যা এবং এর মান প্রায় 2.718281-এর সমান। যেকোনো বাস্তব ইনপুটের জন্য আউটপুট ধনাত্মক হয়।
x = tf.constant(2.0) tf.math.exp(x) ==> 7.389056
x = tf.constant([2.0, 8.0]) tf.math.exp(x) ==> array([7.389056, 2980.958], dtype=float32)
জটিল সংখ্যার ক্ষেত্রে, সূচকীয় মান নিম্নরূপে গণনা করা হয়:
e^(x+iy) = e^x * e^iy = e^x * (cos y + i sin y)
উদাহরণ হিসেবে জটিল সংখ্যা 1+1j বিবেচনা করা যাক। e^1 * (cos 1 + i sin 1) = 2.7182818284590 * (0.54030230586+0.8414709848j)
x = tf.constant(1 + 1j) tf.math.exp(x) ==> 1.4686939399158851+2.2873552871788423j
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
ফেরত:
-
Output: y টেনসর।
নির্মাতা এবং ধ্বংসকারী | |
|---|---|
Exp (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
জনসাধারণের বৈশিষ্ট্য | |
|---|---|
operation | |
y | |
জনসাধারণের কার্যাবলী | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
জনসাধারণের বৈশিষ্ট্য
অপারেশন
Operation operation
y
::tensorflow::Output y
জনসাধারণের কার্যাবলী
এক্সপি
Exp( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
নোড
::tensorflow::Node * node() const
অপারেটর::টেনসরফ্লো::ইনপুট
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const