tensorflow:: ops:: Sin
#include <math_ops.h>Computes sine of x element-wise.
Riepilogo
Dato un tensore di input, questa funzione calcola il seno di ogni elemento del 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]
Argomentazioni:
- ambito: un oggetto Scope
Resi:
-
Output: The y tensor.
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
y
::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::tensoreflusso::output
operator::tensorflow::Output() const