tensorflow::ops::Rint
#include <math_ops.h>Restituisce, elemento per elemento, l'intero più vicino a x.
Riepilogo
Se il risultato si trova a metà strada tra due valori rappresentabili, viene scelto il valore pari rappresentabile. Ad esempio:
rint(-1.5) ==> -2.0 rint(0.5000001) ==> 1.0 rint([-1.7, -1.5, -0.2, 0.2, 1.5, 1.7, 2.0]) ==> [-2., -2., -0., 0., 2., 2., 2.]
Argomentazioni:
- ambito: un oggetto Scope
Resi:
-
Output: Il tensore y.
Costruttori e distruttori | |
|---|---|
Rint (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
Rit
Rint( 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