Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: Podsumowanie scalania
#include <logging_ops.h>
Łączy podsumowania.
Streszczenie
Ta operacja tworzy bufor protokołu „Podsumowanie” , który zawiera sumę wszystkich wartości w podsumowaniach wejściowych.
Po uruchomieniu Op zgłasza błąd InvalidArgument
, jeśli wiele wartości w podsumowaniach do połączenia używa tego samego tagu.
Argumenty:
- zakres: Obiekt Scope
- Dane wejściowe: Mogą mieć dowolny kształt. Każdy musi zawierać serializowane bufory protokołu
Summary
.
Zwroty:
-
Output
: skalarne. Serializowany bufor protokołu Summary
.
Atrybuty publiczne
Funkcje publiczne
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Wyjście
operator::tensorflow::Output() const
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[],[],null,["# tensorflow::ops::MergeSummary Class Reference\n\ntensorflow::ops::MergeSummary\n=============================\n\n`#include \u003clogging_ops.h\u003e`\n\nMerges summaries.\n\nSummary\n-------\n\nThis op creates a [\\`Summary\\`](https://www.tensorflow.org/code/tensorflow/core/framework/summary.proto) protocol buffer that contains the union of all the values in the input summaries.\n\nWhen the Op is run, it reports an `InvalidArgument` error if multiple values in the summaries to merge use the same tag.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- inputs: Can be of any shape. Each must contain serialized `Summary` protocol buffers.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): Scalar. Serialized `Summary` protocol buffer.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [MergeSummary](#classtensorflow_1_1ops_1_1_merge_summary_1a22a47d3e7528edb0519809da7b7a4f4c)`(const ::`[tensorflow::Scope](/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::InputList](/versions/r2.0/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list)` inputs)` ||\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_merge_summary_1a1f99177e9a4c71b99dd573e69d99526a) | [Operation](/versions/r2.0/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [summary](#classtensorflow_1_1ops_1_1_merge_summary_1a06d974af5800758695c7f6cb4f173c36) | `::`[tensorflow::Output](/versions/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_merge_summary_1a22c07022fc4001bd71d2c519d992ba5a)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_merge_summary_1a374205ab608f7a90c1d376ca539b3faa)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_merge_summary_1a2f1b90a972253c8960d1540dc4245cb4)`() const ` | ` ` ` ` |\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### MergeSummary\n\n```gdscript\n MergeSummary(\n const ::tensorflow::Scope & scope,\n ::tensorflow::InputList inputs\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```"]]