tensorflow :: অপস:: মেয়াদ

#include <math_ops.h>

x উপাদান-ভিত্তিক সূচকের সূচক গণনা করে।

সারসংক্ষেপ

\(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