Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
tensoreflusso:: ops:: TensorSummary
#include <logging_ops.h>
Restituisce un buffer del protocollo Summary
con un tensore.
Riepilogo
Questa operazione verrà gradualmente eliminata a favore di TensorSummaryV2 , che consente ai chiamanti di passare un tag e una stringa prototipale SummaryMetadata serializzata che contiene dati specifici del plug-in. Manterremo questa operazione per mantenere la compatibilità con le versioni precedenti.
Argomenti:
- scope: un oggetto Scope
- tensore: un tensore da serializzare.
Attributi facoltativi (vedi Attrs
):
- description: un protocollo SummaryDescription con codifica JSON.
- etichette: un elenco di stringhe inutilizzate.
- display_name: una stringa inutilizzata.
Resi:
-
Output
: il tensore riassuntivo.
Funzioni pubbliche statiche |
---|
Description (StringPiece x) | |
DisplayName (StringPiece x) | |
Labels (const gtl::ArraySlice<::tensorflow::tstring > & x) | |
Attributi pubblici
Funzioni pubbliche
nodo
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operatore::tensorflow::Output
operator::tensorflow::Output() const
Funzioni pubbliche statiche
Descrizione
Attrs Description(
StringPiece x
)
Nome da visualizzare
Attrs DisplayName(
StringPiece x
)
Etichette
Attrs Labels(
const gtl::ArraySlice<::tensorflow::tstring > & x
)
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[null,null,["Ultimo aggiornamento 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```"]]