tensorflow::ops::Cast
#include <math_ops.h>Esegui il cast di x di tipo SrcT a y di tipo DstT.
Riepilogo
Argomentazioni:
- ambito: un oggetto Scope
Resi:
-
Output: Il tensore y.
Costruttori e distruttori | |
|---|---|
Cast (const :: tensorflow::Scope & scope, :: tensorflow::Input x, DataType DstT) | |
Cast (const :: tensorflow::Scope & scope, :: tensorflow::Input x, DataType DstT, const Cast::Attrs & attrs) |
attributi pubblici | |
|---|---|
operation | |
y | |
Funzioni pubbliche | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Funzioni statiche pubbliche | |
|---|---|
Truncate (bool x) | |
Strutture | |
|---|---|
| tensorflow::ops::Cast::Attrs | Impostatori di attributi opzionali per Cast . |
attributi pubblici
operazione
Operation operation
y
::tensorflow::Output y
Funzioni pubbliche
Lancio
Cast( const ::tensorflow::Scope & scope, ::tensorflow::Input x, DataType DstT )
Lancio
Cast( const ::tensorflow::Scope & scope, ::tensorflow::Input x, DataType DstT, const Cast::Attrs & attrs )
nodo
::tensorflow::Node * node() const
operatore::tensorflow::Input
operator::tensorflow::Input() const
operatore::tensoreflusso::output
operator::tensorflow::Output() const
Funzioni statiche pubbliche
Troncare
Attrs Truncate( bool x )