Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
flux tensoriel : : opérations : : TensorRésumé
#include <logging_ops.h>
Génère un tampon de protocole Summary
avec un tenseur.
Résumé
Cette opération est progressivement supprimée au profit de TensorSummaryV2 , qui permet aux appelants de transmettre une balise ainsi qu'une chaîne proto sérialisée SummaryMetadata qui contient des données spécifiques au plugin. Nous conserverons cette opération pour maintenir la compatibilité ascendante.
Arguments :
- scope : un objet Scope
- tenseur : Un tenseur à sérialiser.
Attributs facultatifs (voir Attrs
) :
- description : un proto SummaryDescription codé en json.
- labels : une liste de chaînes inutilisées.
- display_name : une chaîne inutilisée.
Retours :
-
Output
: Le tenseur récapitulatif.
Fonctions statiques publiques |
---|
Description (StringPiece x) | |
DisplayName (StringPiece x) | |
Labels (const gtl::ArraySlice<::tensorflow::tstring > & x) | |
Attributs publics
Fonctions publiques
nœud
::tensorflow::Node * node() const
operator::tensorflow::Input() const
opérateur :: tensorflow :: Sortie
operator::tensorflow::Output() const
Fonctions statiques publiques
Description
Attrs Description(
StringPiece x
)
Nom d'affichage
Attrs DisplayName(
StringPiece x
)
Étiquettes
Attrs Labels(
const gtl::ArraySlice<::tensorflow::tstring > & x
)
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/27 (UTC).
[null,null,["Dernière mise à jour le 2025/07/27 (UTC)."],[],[],null,["# tensorflow::ops::TensorSummary Class Reference\n\ntensorflow::ops::TensorSummary\n==============================\n\n`#include \u003clogging_ops.h\u003e`\n\nOutputs a `Summary` protocol buffer with a tensor.\n\nSummary\n-------\n\nThis op is being phased out in favor of [TensorSummaryV2](/versions/r2.3/api_docs/cc/class/tensorflow/ops/tensor-summary-v2#classtensorflow_1_1ops_1_1_tensor_summary_v2), which lets callers pass a tag as well as a serialized SummaryMetadata proto string that contains plugin-specific data. We will keep this op to maintain backwards compatibility.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- tensor: A tensor to serialize.\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs)):\n\n- description: A json-encoded SummaryDescription proto.\n- labels: An unused list of strings.\n- display_name: An unused string.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The summary tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [TensorSummary](#classtensorflow_1_1ops_1_1_tensor_summary_1afdb9550f4293d4ab3a2983f6edf07fbb)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` tensor)` ||\n| [TensorSummary](#classtensorflow_1_1ops_1_1_tensor_summary_1ae4c43797136633dd569416f852e1bb81)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` tensor, const `[TensorSummary::Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_tensor_summary_1a1d90e40e1074d7151da624b2332bc954) | [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [summary](#classtensorflow_1_1ops_1_1_tensor_summary_1a6b64d90ed0bed7a174d12d2057cae3d1) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_tensor_summary_1aec5f002562bf25f908ea69a9ccf16148)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_tensor_summary_1a6de3fc008f2ef8aed3f658d69d7b531b)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_tensor_summary_1aac762262fdb3815e85abff7635927d62)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|----------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| [Description](#classtensorflow_1_1ops_1_1_tensor_summary_1af0c6bfcdd270a13450e0bed1490e9f3b)`(StringPiece x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) |\n| [DisplayName](#classtensorflow_1_1ops_1_1_tensor_summary_1ae0eff10fbf8400e9be9c2a2cce9d9581)`(StringPiece x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) |\n| [Labels](#classtensorflow_1_1ops_1_1_tensor_summary_1a4da063086f3ea3a8b164ca31802d71a3)`(const gtl::ArraySlice\u003c::tensorflow::tstring \u003e & x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) |\n\n| ### Structs ||\n|----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::TensorSummary::Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs) | Optional attribute setters for [TensorSummary](/versions/r2.3/api_docs/cc/class/tensorflow/ops/tensor-summary#classtensorflow_1_1ops_1_1_tensor_summary). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### summary\n\n```text\n::tensorflow::Output summary\n``` \n\nPublic functions\n----------------\n\n### TensorSummary\n\n```gdscript\n TensorSummary(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input tensor\n)\n``` \n\n### TensorSummary\n\n```gdscript\n TensorSummary(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input tensor,\n const TensorSummary::Attrs & attrs\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n``` \n\nPublic static functions\n-----------------------\n\n### Description\n\n```text\nAttrs Description(\n StringPiece x\n)\n``` \n\n### DisplayName\n\n```text\nAttrs DisplayName(\n StringPiece x\n)\n``` \n\n### Labels\n\n```gdscript\nAttrs Labels(\n const gtl::ArraySlice\u003c::tensorflow::tstring \u003e & x\n)\n```"]]