flux tensoriel : : opérations : : ChaîneVersNuméro
#include <parsing_ops.h>
Convertit chaque chaîne du Tensor d'entrée en type numérique spécifié.
Résumé
(Notez que le débordement int32 entraîne une erreur tandis que le débordement flottant entraîne une valeur arrondie.)
Arguments :
- scope : un objet Scope
Attributs facultatifs (voir Attrs
) :
- out_type : le type numérique avec lequel interpréter chaque chaîne dans
string_tensor
.
Retours :
Constructeurs et Destructeurs | |
---|---|
StringToNumber (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor) | |
StringToNumber (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor, const StringToNumber::Attrs & attrs) |
Fonctions publiques | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Structures | |
---|---|
tensorflow :: ops :: StringToNumber :: Attrs | Setters d'attributs facultatifs pour StringToNumber . |
Attributs publics
opération
Operation operation
sortir
::tensorflow::Output output
Fonctions publiques
ChaîneVersNuméro
StringToNumber(
const ::tensorflow::Scope & scope,
::tensorflow::Input string_tensor
)
ChaîneVersNuméro
StringToNumber(
const ::tensorflow::Scope & scope,
::tensorflow::Input string_tensor,
const StringToNumber::Attrs & attrs
)
nœud
::tensorflow::Node * node() const
opérateur :: tensorflow :: Entrée
operator::tensorflow::Input() const
opérateur :: tensorflow :: Sortie
operator::tensorflow::Output() const
Fonctions statiques publiques
Type de sortie
Attrs OutType(
DataType x
)