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:: TensorTóm tắt:: Attr
#include <logging_ops.h>
Trình thiết lập thuộc tính tùy chọn cho TensorSummary .
Bản tóm tắt
Chức năng công cộng |
---|
Description (StringPiece x) | Một nguyên mẫu Mô tả Tóm tắt được mã hóa bằng json. |
DisplayName (StringPiece x) | Một chuỗi không được sử dụng. |
Labels (const gtl::ArraySlice< string > & x) | Một danh sách các chuỗi không được sử dụng. |
Thuộc tính công khai
Sự miêu tả_
StringPiece tensorflow::ops::TensorSummary::Attrs::description_ = ""
tên_hiển thị_
StringPiece tensorflow::ops::TensorSummary::Attrs::display_name_ = ""
nhãn_
gtl::ArraySlice< string > tensorflow::ops::TensorSummary::Attrs::labels_ = {}
Chức năng công cộng
Sự miêu tả
TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Description(
StringPiece x
)
Một nguyên mẫu Mô tả Tóm tắt được mã hóa bằng json.
Mặc định là ""
Tên hiển thị
TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::DisplayName(
StringPiece x
)
Một chuỗi không được sử dụng.
Mặc định là ""
Nhãn
TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Labels(
const gtl::ArraySlice< string > & x
)
Một danh sách các chuỗi không được sử dụng.
Mặc định là []
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-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["# tensorflow::ops::TensorSummary::Attrs Struct Reference\n\ntensorflow::ops::TensorSummary::Attrs\n=====================================\n\n`#include \u003clogging_ops.h\u003e`\n\nOptional attribute setters for [TensorSummary](/versions/r2.1/api_docs/cc/class/tensorflow/ops/tensor-summary#classtensorflow_1_1ops_1_1_tensor_summary).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------|-----------------------------|\n| [description_](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a976f01922653dc7effd8481455dc7fa2)` = \"\"` | `StringPiece` |\n| [display_name_](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a6d66b030638bbea93c4150c1a4f3c9e3)` = \"\"` | `StringPiece` |\n| [labels_](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1af89d0cd6e50d72afa579ee6c12d334fa)` = {}` | `gtl::ArraySlice\u003c string \u003e` |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Description](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1af586e1802efa1ab75c8f58d92421ab32)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) A json-encoded SummaryDescription proto. |\n| [DisplayName](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a4c5bf3f8233602c417b8868462d36cbb)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) An unused string. |\n| [Labels](#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs_1a219220e1b37bf58464472c640e84de7f)`(const gtl::ArraySlice\u003c string \u003e & x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/tensor-summary/attrs#structtensorflow_1_1ops_1_1_tensor_summary_1_1_attrs) An unused list of strings. |\n\nPublic attributes\n-----------------\n\n### description_\n\n```scdoc\nStringPiece tensorflow::ops::TensorSummary::Attrs::description_ = \"\"\n``` \n\n### display_name_\n\n```scdoc\nStringPiece tensorflow::ops::TensorSummary::Attrs::display_name_ = \"\"\n``` \n\n### labels_\n\n```scdoc\ngtl::ArraySlice\u003c string \u003e tensorflow::ops::TensorSummary::Attrs::labels_ = {}\n``` \n\nPublic functions\n----------------\n\n### Description\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Description(\n StringPiece x\n)\n``` \nA json-encoded SummaryDescription proto.\n\nDefaults to \"\" \n\n### DisplayName\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::DisplayName(\n StringPiece x\n)\n``` \nAn unused string.\n\nDefaults to \"\" \n\n### Labels\n\n```gdscript\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Labels(\n const gtl::ArraySlice\u003c string \u003e & x\n)\n``` \nAn unused list of strings.\n\nDefaults to \\[\\]"]]