Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
dòng chảy căng:: ôi:: Hợp nhấtTóm tắt
#include <logging_ops.h>
Hợp nhất các bản tóm tắt.
Bản tóm tắt
Hoạt động này tạo ra một bộ đệm giao thức `Tóm tắt` chứa sự kết hợp của tất cả các giá trị trong các bản tóm tắt đầu vào.
Khi Op được chạy, nó báo lỗi InvalidArgument
nếu nhiều giá trị trong phần tóm tắt cần hợp nhất sử dụng cùng một thẻ.
Lập luận:
- phạm vi: Một đối tượng Phạm vi
- đầu vào: Có thể có hình dạng bất kỳ. Mỗi cái phải chứa bộ đệm giao thức
Summary
được tuần tự hóa.
Trả về:
-
Output
: vô hướng. Bộ đệm giao thức Summary
được tuần tự hóa.
Thuộc tính công khai
Chức năng công cộng
nút
::tensorflow::Node * node() const
operator::tensorflow::Input() const
toán tử::tenorflow::Đầu ra
operator::tensorflow::Output() const
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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```"]]