Tensorflow :: ops :: StringToNumber
#include <parsing_ops.h>
Wandelt jede Zeichenfolge in der Eingabe Tensor mit dem angegebenen numerischen Typ.
Zusammenfassung
(Beachten Sie, dass ein int32-Überlauf zu einem Fehler führt, während ein float-Überlauf zu einem gerundeten Wert führt.)
Argumente:
- scope: Ein Scope- Objekt
Optionale Attribute (siehe Attrs
):
- out_type: Der numerische Typ, der jede Zeichenfolge in
string_tensor
als interpretiert.
Kehrt zurück:
Konstruktoren und Destruktoren | |
---|---|
StringToNumber (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor) | |
StringToNumber (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor, const StringToNumber::Attrs & attrs) |
Öffentliche Attribute | |
---|---|
operation | |
output |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche statische Funktionen | |
---|---|
OutType (DataType x) |
Strukturen | |
---|---|
tensorflow :: ops :: StringToNumber :: Attrs | Optionale Attributsetzer für StringToNumber . |
Öffentliche Attribute
Operation
Operation operation
Ausgabe
::tensorflow::Output output
Öffentliche Funktionen
StringToNumber
StringToNumber( const ::tensorflow::Scope & scope, ::tensorflow::Input string_tensor )
StringToNumber
StringToNumber( const ::tensorflow::Scope & scope, ::tensorflow::Input string_tensor, const StringToNumber::Attrs & attrs )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Öffentliche statische Funktionen
OutType
Attrs OutType( DataType x )