tensorflow::ops::StringToNumber
#include <parsing_ops.h>Converte ogni stringa presente nel tensore di input nel tipo numerico specificato.
Riepilogo
(Si noti che l'overflow di int32 genera un errore, mentre l'overflow di float produce un valore arrotondato.)
Argomentazioni:
- ambito: un oggetto Scope
Attributi opzionali (vedere Attrs ):
- out_type: Il tipo numerico con cui interpretare ciascuna stringa in
string_tensor.
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 statiche pubbliche | |
|---|---|
OutType (DataType x) | |
Strutture | |
|---|---|
| tensorflow::ops::StringToNumber::Attrs | Impostatori di attributi opzionali per StringToNumber . |
attributi pubblici
operazione
Operation operation
produzione
::tensorflow::Output output
Funzioni pubbliche
StringaInNumero
StringToNumber( const ::tensorflow::Scope & scope, ::tensorflow::Input string_tensor )
StringaInNumero
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::tensoreflusso::output
operator::tensorflow::Output() const
Funzioni statiche pubbliche
OutType
Attrs OutType( DataType x )