Restez organisé à l'aide des collections Enregistrez et classez les contenus selon vos préférences.

tensorflow :: opérations :: StringToNumber

#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:

Attributs facultatifs (voir Attrs ):

  • out_type: le type numérique pour interpréter chaque chaîne de string_tensor comme.

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)

Structs

tensorflow :: ops :: StringToNumber :: Attrs

Définisseurs d'attributs facultatifs pour StringToNumber .

Attributs publics

opération

Operation operation

production

::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 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Output

 operator::tensorflow::Output() const 

Fonctions statiques publiques

Type de sortie

Attrs OutType(
  DataType x
)