flux tensoriel : : opérations : : 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:

  • scope : un objet Scope

Retour:

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

oui

::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