Tensorflow :: ops :: Sünde
#include <math_ops.h>
Berechnet den Sinus von x elementweise.
Zusammenfassung
Bei einem Eingangstensor berechnet diese Funktion den Sinus jedes Elements im Tensor. Der Eingabebereich ist (-inf, inf)
und der Ausgabebereich ist [-1,1]
.
x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10, float("inf")]) tf.math.sin(x) ==> [nan -0.4121185 -0.47942555 0.84147096 0.9320391 -0.87329733 -0.54402107 nan]
Argumente:
- scope: Ein Scope- Objekt
Kehrt zurück:
-
Output
: Der y-Tensor.
Konstruktoren und Destruktoren | |
---|---|
Sin (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
Sünde
Sin( 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