tensorflow::ops::Tan
#include <math_ops.h>Calcule la tangente de x élément par élément.
Résumé
Étant donné un tenseur en entrée, cette fonction calcule la tangente de chaque élément du tenseur. L'intervalle d'entrée est (-inf, inf) et l'intervalle de sortie est (-inf, inf) . Si l'entrée est en dehors de cet intervalle, nan est renvoyée.
x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10000, float("inf")]) tf.math.tan(x) ==> [nan 0.45231566 -0.5463025 1.5574077 2.572152 -1.7925274 0.32097113 nan]
Arguments :
- portée : un objet Scope
Retours :
-
Output: Le tenseur y.
Constructeurs et destructeurs | |
|---|---|
Tan (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
Tanné
Tan( 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