tensoreflusso:: ops:: Peccato
#include <math_ops.h>Calcola il seno di x in termini di elemento.
Riepilogo
Dato un tensore di input, questa funzione calcola il seno di ogni elemento nel tensore. L'intervallo di input è (-inf, inf) e l'intervallo di output è [-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]
Argomenti:
- scope: un oggetto Scope
Resi:
-
Output: il tensore y.
Costruttori e distruttori | |
|---|---|
Sin (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
Peccato
Sin( 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