tensoreflusso:: ops:: StringToNumber
#include <parsing_ops.h>Converte ogni stringa nell'input Tensor nel tipo numerico specificato.
Riepilogo
(Si noti che l'overflow int32 genera un errore mentre l'overflow float genera un valore arrotondato.)
Argomenti:
- scope: un oggetto Scope
Attributi facoltativi (vedi Attrs ):
- out_type: il tipo numerico per interpretare ogni stringa in
string_tensorcome.
Resi:
Costruttori e distruttori | |
|---|---|
StringToNumber (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor) | |
StringToNumber (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor, const StringToNumber::Attrs & attrs) |
Attributi pubblici | |
|---|---|
operation | |
output | |
Funzioni pubbliche | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Funzioni pubbliche statiche | |
|---|---|
OutType (DataType x) | |
Strutture | |
|---|---|
| tensorflow:: ops:: StringToNumber:: Attrs | Setter di attributi facoltativi per StringToNumber . |
Attributi pubblici
operazione
Operation operation
produzione
::tensorflow::Output output
Funzioni pubbliche
StringToNumber
StringToNumber( const ::tensorflow::Scope & scope, ::tensorflow::Input string_tensor )
StringToNumber
StringToNumber( const ::tensorflow::Scope & scope, ::tensorflow::Input string_tensor, const StringToNumber::Attrs & attrs )
nodo
::tensorflow::Node * node() const
operatore::tensorflow::Input
operator::tensorflow::Input() const
operatore::tensorflow::Output
operator::tensorflow::Output() const
Funzioni pubbliche statiche
OutType
Attrs OutType( DataType x )