จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: ทำให้เป็นอนุกรมSparse:: คุณสมบัติ
#include <sparse_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ SerializeSparse
สรุป
คุณลักษณะสาธารณะ |
---|
out_type_ = DT_STRING | DataType |
งานสาธารณะ |
---|
OutType (DataType x) | dtype ที่จะใช้สำหรับการซีเรียลไลซ์ ประเภทที่รองรับคือ string (ค่าเริ่มต้น) และ variant |
คุณลักษณะสาธารณะ
out_type_
DataType tensorflow::ops::SerializeSparse::Attrs::out_type_ = DT_STRING
งานสาธารณะ
ประเภทออก
TF_MUST_USE_RESULT Attrs tensorflow::ops::SerializeSparse::Attrs::OutType(
DataType x
)
dtype
ที่จะใช้สำหรับการซีเรียลไลซ์ ประเภทที่รองรับคือ string
(ค่าเริ่มต้น) และ variant
ค่าเริ่มต้นเป็น DT_STRING
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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"]]