Tensorflow :: ops :: Bräunen
#include <math_ops.h>
Berechnet die Bräune von x elementweise.
Zusammenfassung
Bei einem eingegebenen Tensor berechnet diese Funktion die Tangente jedes Elements im Tensor. Der Eingabebereich ist (-inf, inf)
und der Ausgabebereich ist (-inf, inf)
. Wenn die Eingabe außerhalb der Grenze liegt, wird nan
zurückgegeben.
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]
Argumente:
- scope: Ein Scope- Objekt
Kehrt zurück:
-
Output
: Der y-Tensor.
Konstruktoren und Destruktoren | |
---|---|
Tan (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
Öffentliche Attribute | |
---|---|
operation | |
y |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche Attribute
Operation
Operation operation
y
::tensorflow::Output y
Öffentliche Funktionen
Bräunen
Tan( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const