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 .

Retour:

  • Output : Un Tensor de la même forme que l'entrée string_tensor .

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

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
)