tensoreflusso:: ops:: Va bene
#include <math_ops.h> Calcola la tangente iperbolica di x rispetto agli elementi.
Riepilogo
 Dato un tensore di input, questa funzione calcola la tangente iperbolica di ogni elemento nel tensore. L'intervallo di input è [-inf, inf] e l'intervallo di output è [-1,1] . 
x = tf.constant([-float("inf"), -5, -0.5, 1, 1.2, 2, 3, float("inf")]) tf.math.tanh(x) ==> [-1. -0.99990916 -0.46211717 0.7615942 0.8336547 0.9640276 0.9950547 1.]
Argomenti:
- scope: un oggetto Scope
Resi:
-  Output: il tensore y.
| Costruttori e distruttori | |
|---|---|
| Tanh (const :: tensorflow::Scope & scope, :: tensorflow::Input x) | 
| Attributi pubblici | |
|---|---|
| operation | |
| y | |
| Funzioni pubbliche | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
Attributi pubblici
operazione
Operation operation
sì
::tensorflow::Output y
Funzioni pubbliche
Va bene
Tanh( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
nodo
::tensorflow::Node * node() const
operatore::tensorflow::Input
operator::tensorflow::Input() const
operatore::tensorflow::Output
operator::tensorflow::Output() const