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:: vô hướngTóm tắt
#include <logging_ops.h>
Xuất ra bộ đệm giao thức Summary
với các giá trị vô hướng.
Bản tóm tắt
tags
và values
đầu vào phải có hình dạng giống nhau. Bản tóm tắt được tạo có giá trị tóm tắt cho từng cặp thẻ-giá trị trong tags
và values
.
Lập luận:
- phạm vi: Một đối tượng Phạm vi
- tags: Thẻ cho bản tóm tắt.
- các giá trị: Hình dạng giống như `tags. Giá trị cho bản tóm tắt.
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::ScalarSummary Class Reference\n\ntensorflow::ops::ScalarSummary\n==============================\n\n`#include \u003clogging_ops.h\u003e`\n\nOutputs a `Summary` protocol buffer with scalar values.\n\nSummary\n-------\n\nThe input `tags` and `values` must have the same shape. The generated summary has a summary value for each tag-value pair in `tags` and `values`.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- tags: Tags for the summary.\n- values: Same shape as \\`tags. Values for the summary.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.1/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| [ScalarSummary](#classtensorflow_1_1ops_1_1_scalar_summary_1a37ead9a3e40afb5ca6c768bd9964fc60)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` tags, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` values)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_scalar_summary_1a0846561767f6abb3de936cc26f92eb42) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [summary](#classtensorflow_1_1ops_1_1_scalar_summary_1a8d164e18d2a22962eacd48e8f77ab864) | `::`[tensorflow::Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_scalar_summary_1a8541b3eb0514c816421a7f1ac6343083)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_scalar_summary_1aedb9308de46ad38d9bb8d680ad4e9419)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_scalar_summary_1a4a426ca21e1f1e4df05580aba8f22238)`() 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### ScalarSummary\n\n```gdscript\n ScalarSummary(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input tags,\n ::tensorflow::Input values\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```"]]