tensorflow::ops::Expm1

#include <math_ops.h>

Calcule exp(x) - 1 élément par élément.

Résumé

c'est-à-dire exp(x) - 1 ou e^(x) - 1 , où x est le tenseur d'entrée. e désigne le nombre d'Euler et est approximativement égal à 2,718281.

  x = tf.constant(2.0)
  tf.math.expm1(x) ==> 6.389056

  x = tf.constant([2.0, 8.0])
  tf.math.expm1(x) ==> array([6.389056, 2979.958], dtype=float32)

  x = tf.constant(1 + 1j)
  tf.math.expm1(x) ==> (0.46869393991588515+2.2873552871788423j)
  

Arguments :

  • portée : un objet Scope

Retours :

Constructeurs et destructeurs

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

attributs publics

operation
y

fonctions publiques

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

attributs publics

opération

Operation operation

y

::tensorflow::Output y

fonctions publiques

Expm1

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

nœud

::tensorflow::Node * node() const 

opérateur::tensorflow::Entrée

 operator::tensorflow::Input() const 

opérateur::tensorflow::Sortie

 operator::tensorflow::Output() const