przepływ tensorowy:: ops:: StringToNumber
#include <parsing_ops.h>Konwertuje każdy ciąg w Tensorze wejściowym na określony typ liczbowy.
Streszczenie
(Zauważ, że przepełnienie int32 powoduje błąd, podczas gdy przepełnienie float powoduje zaokrąglenie wartości.)
Argumenty:
- zakres: Obiekt Scope
 Opcjonalne atrybuty (patrz Attrs ):
-  out_type: Typ liczbowy, który ma interpretować każdy ciąg znaków w string_tensorjako.
Zwroty:
| Konstruktory i destruktory | |
|---|---|
| StringToNumber (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor) | |
| StringToNumber (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor, const StringToNumber::Attrs & attrs) | 
| Atrybuty publiczne | |
|---|---|
| operation | |
| output | |
| Funkcje publiczne | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| Publiczne funkcje statyczne | |
|---|---|
| OutType (DataType x) | |
| Struktury | |
|---|---|
| tensorflow:: ops:: StringToNumber:: Atrybuty | Opcjonalne moduły ustawiające atrybuty dla StringToNumber . | 
Atrybuty publiczne
działanie
Operation operation
wyjście
::tensorflow::Output output
Funkcje publiczne
StringToNumber
StringToNumber( const ::tensorflow::Scope & scope, ::tensorflow::Input string_tensor )
StringToNumber
StringToNumber( const ::tensorflow::Scope & scope, ::tensorflow::Input string_tensor, const StringToNumber::Attrs & attrs )
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Wejście
operator::tensorflow::Input() const
operator::tensorflow::Wyjście
operator::tensorflow::Output() const
Publiczne funkcje statyczne
Typ zewnętrzny
Attrs OutType( DataType x )