จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: เบาบางMatMul:: คุณสมบัติ
#include <math_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ SparseMatMul
สรุป
คุณลักษณะสาธารณะ
a_is_เบาบาง_
bool tensorflow::ops::SparseMatMul::Attrs::a_is_sparse_ = false
b_is_เบาบาง_
bool tensorflow::ops::SparseMatMul::Attrs::b_is_sparse_ = false
ย้าย_a_
bool tensorflow::ops::SparseMatMul::Attrs::transpose_a_ = false
ย้าย_b_
bool tensorflow::ops::SparseMatMul::Attrs::transpose_b_ = false
งานสาธารณะ
AIsเบาบาง
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::AIsSparse(
bool x
)
BIsSparse
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::BIsSparse(
bool x
)
ย้ายA
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeA(
bool x
)
ทรานโพสบี
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeB(
bool x
)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# tensorflow::ops::SparseMatMul::Attrs Struct Reference\n\ntensorflow::ops::SparseMatMul::Attrs\n====================================\n\n`#include \u003cmath_ops.h\u003e`\n\nOptional attribute setters for [SparseMatMul](/versions/r2.0/api_docs/cc/class/tensorflow/ops/sparse-mat-mul#classtensorflow_1_1ops_1_1_sparse_mat_mul).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------|--------|\n| [a_is_sparse_](#structtensorflow_1_1ops_1_1_sparse_mat_mul_1_1_attrs_1a219dfa0045a43e11367d6fa0e419d694)` = false` | `bool` |\n| [b_is_sparse_](#structtensorflow_1_1ops_1_1_sparse_mat_mul_1_1_attrs_1ab8bf8ccf3e940a8eefad45deb4235f3e)` = false` | `bool` |\n| [transpose_a_](#structtensorflow_1_1ops_1_1_sparse_mat_mul_1_1_attrs_1afbc567a258f6c37c04b676f7af1b6591)` = false` | `bool` |\n| [transpose_b_](#structtensorflow_1_1ops_1_1_sparse_mat_mul_1_1_attrs_1adfc9b795544db29e532549f1cc88cd3a)` = false` | `bool` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AIsSparse](#structtensorflow_1_1ops_1_1_sparse_mat_mul_1_1_attrs_1a1fbb08d2c79c2827e06031e795c56643)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/sparse-mat-mul/attrs#structtensorflow_1_1ops_1_1_sparse_mat_mul_1_1_attrs) Defaults to false. |\n| [BIsSparse](#structtensorflow_1_1ops_1_1_sparse_mat_mul_1_1_attrs_1af57e5e340bc46d0d80929e1de6c4d427)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/sparse-mat-mul/attrs#structtensorflow_1_1ops_1_1_sparse_mat_mul_1_1_attrs) Defaults to false. |\n| [TransposeA](#structtensorflow_1_1ops_1_1_sparse_mat_mul_1_1_attrs_1a4d68b90356d5ecd0d6a2e5c02d36166a)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/sparse-mat-mul/attrs#structtensorflow_1_1ops_1_1_sparse_mat_mul_1_1_attrs) Defaults to false. |\n| [TransposeB](#structtensorflow_1_1ops_1_1_sparse_mat_mul_1_1_attrs_1a323ae5349e0f7af0a123a752ee8e33fd)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/sparse-mat-mul/attrs#structtensorflow_1_1ops_1_1_sparse_mat_mul_1_1_attrs) Defaults to false. |\n\nPublic attributes\n-----------------\n\n### a_is_sparse_\n\n```scdoc\nbool tensorflow::ops::SparseMatMul::Attrs::a_is_sparse_ = false\n``` \n\n### b_is_sparse_\n\n```scdoc\nbool tensorflow::ops::SparseMatMul::Attrs::b_is_sparse_ = false\n``` \n\n### transpose_a_\n\n```scdoc\nbool tensorflow::ops::SparseMatMul::Attrs::transpose_a_ = false\n``` \n\n### transpose_b_\n\n```scdoc\nbool tensorflow::ops::SparseMatMul::Attrs::transpose_b_ = false\n``` \n\nPublic functions\n----------------\n\n### AIsSparse\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::AIsSparse(\n bool x\n)\n``` \nDefaults to false. \n\n### BIsSparse\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::BIsSparse(\n bool x\n)\n``` \nDefaults to false. \n\n### TransposeA\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeA(\n bool x\n)\n``` \nDefaults to false. \n\n### TransposeB\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeB(\n bool x\n)\n``` \nDefaults to false."]]