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:: Tuần tự hóaSparse:: Attr
#include <sparse_ops.h>
Trình thiết lập thuộc tính tùy chọn cho SerializeSparse .
Bản tóm tắt
Thuộc tính công khai |
---|
out_type_ = DT_STRING | DataType |
Chức năng công cộng |
---|
OutType (DataType x) | dtype được sử dụng để tuần tự hóa; các loại được hỗ trợ là string (mặc định) và variant . |
Thuộc tính công khai
out_type_
DataType tensorflow::ops::SerializeSparse::Attrs::out_type_ = DT_STRING
Chức năng công cộng
Loại ra
TF_MUST_USE_RESULT Attrs tensorflow::ops::SerializeSparse::Attrs::OutType(
DataType x
)
dtype
được sử dụng để tuần tự hóa; các loại được hỗ trợ là string
(mặc định) và variant
.
Mặc định là DT_STRING
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::SerializeSparse::Attrs Struct Reference\n\ntensorflow::ops::SerializeSparse::Attrs\n=======================================\n\n`#include \u003csparse_ops.h\u003e`\n\nOptional attribute setters for [SerializeSparse](/versions/r2.3/api_docs/cc/class/tensorflow/ops/serialize-sparse#classtensorflow_1_1ops_1_1_serialize_sparse).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------------|------------|\n| [out_type_](#structtensorflow_1_1ops_1_1_serialize_sparse_1_1_attrs_1ab088346154d2e50e3b6e376f32993817)` = DT_STRING` | `DataType` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [OutType](#structtensorflow_1_1ops_1_1_serialize_sparse_1_1_attrs_1a1f8e34079a2ca362dad40166651acadf)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/serialize-sparse/attrs#structtensorflow_1_1ops_1_1_serialize_sparse_1_1_attrs) The `dtype` to use for serialization; the supported types are `string` (default) and `variant`. |\n\nPublic attributes\n-----------------\n\n### out_type_\n\n```carbon\nDataType tensorflow::ops::SerializeSparse::Attrs::out_type_ = DT_STRING\n``` \n\nPublic functions\n----------------\n\n### OutType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SerializeSparse::Attrs::OutType(\n DataType x\n)\n``` \nThe `dtype` to use for serialization; the supported types are `string` (default) and `variant`.\n\nDefaults to DT_STRING"]]