텐서플로우:: 작전:: 경험치

#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 

연산자::텐서플로우::입력

 operator::tensorflow::Input() const 

연산자::텐서플로우::출력

 operator::tensorflow::Output() const