tensorflow :: ops :: 특급

#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
  

인수 :

보고:

생성자와 소멸자

Exp (const :: tensorflow::Scope & scope, :: tensorflow::Input x)

공용 속성

operation
y

공공 기능

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

공용 속성

조작

Operation operation

와이

::tensorflow::Output y

공공 기능

특급

 Exp(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const