Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
flux tensoriel : : opérations : : TensorRésumé : Attributs
#include <logging_ops.h>
Setters d'attributs facultatifs pour TensorSummary .
Résumé
Fonctions publiques |
---|
Description (StringPiece x) | Un proto SummaryDescription codé en json. |
DisplayName (StringPiece x) | Une chaîne inutilisée. |
Labels (const gtl::ArraySlice<::tensorflow::tstring > & x) | Une liste de chaînes inutilisées. |
Attributs publics
description_
StringPiece tensorflow::ops::TensorSummary::Attrs::description_ = ""
display_name_
StringPiece tensorflow::ops::TensorSummary::Attrs::display_name_ = ""
étiquettes_
gtl::ArraySlice<::tensorflow::tstring > tensorflow::ops::TensorSummary::Attrs::labels_ = {}
Fonctions publiques
Description
TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Description(
StringPiece x
)
Un proto SummaryDescription codé en json.
La valeur par défaut est ""
Nom d'affichage
TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::DisplayName(
StringPiece x
)
Une chaîne inutilisée.
La valeur par défaut est ""
Étiquettes
TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Labels(
const gtl::ArraySlice<::tensorflow::tstring > & x
)
Une liste de chaînes inutilisées.
La valeur par défaut est []
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/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[],[],null,["# tensorflow::ops::TensorSummary::Attrs Struct Reference\n\ntensorflow::ops::TensorSummary::Attrs\n=====================================\n\n`#include \u003clogging_ops.h\u003e`\n\nOptional attribute setters for [TensorSummary](/versions/r2.2/api_docs/cc/class/tensorflow/ops/tensor-summary#classtensorflow_1_1ops_1_1_tensor_summary).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------|-------------------------------------------|\n| [description_](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a976f01922653dc7effd8481455dc7fa2)` = \"\"` | `StringPiece` |\n| [display_name_](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a6d66b030638bbea93c4150c1a4f3c9e3)` = \"\"` | `StringPiece` |\n| [labels_](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a637a10dfecbb3ddcbd82eb347489ae27)` = {}` | `gtl::ArraySlice\u003c::tensorflow::tstring \u003e` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Description](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1af586e1802efa1ab75c8f58d92421ab32)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) A json-encoded SummaryDescription proto. |\n| [DisplayName](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a4c5bf3f8233602c417b8868462d36cbb)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) An unused string. |\n| [Labels](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a3ee4dc54c01121d0975dec25aa5d1e6d)`(const gtl::ArraySlice\u003c::tensorflow::tstring \u003e & x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) An unused list of strings. |\n\nPublic attributes\n-----------------\n\n### description_\n\n```scdoc\nStringPiece tensorflow::ops::TensorSummary::Attrs::description_ = \"\"\n``` \n\n### display_name_\n\n```scdoc\nStringPiece tensorflow::ops::TensorSummary::Attrs::display_name_ = \"\"\n``` \n\n### labels_\n\n```scdoc\ngtl::ArraySlice\u003c::tensorflow::tstring \u003e tensorflow::ops::TensorSummary::Attrs::labels_ = {}\n``` \n\nPublic functions\n----------------\n\n### Description\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Description(\n StringPiece x\n)\n``` \nA json-encoded SummaryDescription proto.\n\nDefaults to \"\" \n\n### DisplayName\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::DisplayName(\n StringPiece x\n)\n``` \nAn unused string.\n\nDefaults to \"\" \n\n### Labels\n\n```gdscript\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Labels(\n const gtl::ArraySlice\u003c::tensorflow::tstring \u003e & x\n)\n``` \nAn unused list of strings.\n\nDefaults to \\[\\]"]]