tensorflow :: opérations :: bronzer
#include <math_ops.h>
Calcule tan de x par élément.
Résumé
Étant donné un tenseur d'entrée, cette fonction calcule la tangente de chaque élément du tenseur. La plage d' entrée est (-inf, inf)
et la plage de sortie est (-inf, inf)
. Si l'entrée se situe en dehors de la limite, nan
est renvoyé.
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:
- scope: un objet Scope
Retour:
-
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
bronzer
Tan( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
nœud
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const