Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
flux tensoriel : : opérations : : ChaîneVersNuméro :: Attributs
#include <parsing_ops.h>
Setters d'attributs facultatifs pour StringToNumber .
Résumé
Attributs publics |
---|
out_type_ = DT_FLOAT | DataType |
Fonctions publiques |
---|
OutType (DataType x) | Le type numérique avec lequel interpréter chaque chaîne dans string_tensor . |
Attributs publics
out_type_
DataType tensorflow::ops::StringToNumber::Attrs::out_type_ = DT_FLOAT
Fonctions publiques
Type de sortie
TF_MUST_USE_RESULT Attrs tensorflow::ops::StringToNumber::Attrs::OutType(
DataType x
)
Le type numérique avec lequel interpréter chaque chaîne dans string_tensor
.
La valeur par défaut est DT_FLOAT
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/28 (UTC).
[null,null,["Dernière mise à jour le 2025/07/28 (UTC)."],[],[],null,["# tensorflow::ops::StringToNumber::Attrs Struct Reference\n\ntensorflow::ops::StringToNumber::Attrs\n======================================\n\n`#include \u003cparsing_ops.h\u003e`\n\nOptional attribute setters for [StringToNumber](/versions/r1.15/api_docs/cc/class/tensorflow/ops/string-to-number#classtensorflow_1_1ops_1_1_string_to_number).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------|------------|\n| [out_type_](#structtensorflow_1_1ops_1_1_string_to_number_1_1_attrs_1a7c2aaeddf561bc69e4d64e95fbedb825)` = DT_FLOAT` | `DataType` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [OutType](#structtensorflow_1_1ops_1_1_string_to_number_1_1_attrs_1a2ee0ca8b95677dc82c729a454bba9613)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/string-to-number/attrs#structtensorflow_1_1ops_1_1_string_to_number_1_1_attrs) The numeric type to interpret each string in `string_tensor` as. |\n\nPublic attributes\n-----------------\n\n### out_type_\n\n```carbon\nDataType tensorflow::ops::StringToNumber::Attrs::out_type_ = DT_FLOAT\n``` \n\nPublic functions\n----------------\n\n### OutType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::StringToNumber::Attrs::OutType(\n DataType x\n)\n``` \nThe numeric type to interpret each string in `string_tensor` as.\n\nDefaults to DT_FLOAT"]]