tensorflow::ops::StringToNumber

#include <parsing_ops.h>

Convertit chaque chaîne de caractères du tenseur d'entrée au type numérique spécifié.

Résumé

(Notez qu'un dépassement de capacité de type int32 entraîne une erreur, tandis qu'un dépassement de capacité de type float entraîne une valeur arrondie.)

Arguments :

  • portée : un objet Scope

Attributs optionnels (voir Attrs ) :

  • out_type : Le type numérique utilisé pour interpréter chaque chaîne de caractères dans string_tensor .

Retours :

  • Output : Un tenseur de même forme que le string_tensor d'entrée.

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)

attributs publics

operation
output

fonctions publiques

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

fonctions statiques publiques

OutType (DataType x)

Structures

tensorflow::ops::StringToNumber::Attrs

Définiteurs d'attributs optionnels pour StringToNumber .

attributs publics

opération

Operation operation

sortir

::tensorflow::Output output

fonctions publiques

StringToNumber

 StringToNumber(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input string_tensor
)

StringToNumber

 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
)