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:: SparseMatMul:: Attr
#include <math_ops.h>
Bộ cài đặt thuộc tính tùy chọn cho SparseMatMul .
Bản tóm tắt
Thuộc tính công khai
a_is_thưa_
bool tensorflow::ops::SparseMatMul::Attrs::a_is_sparse_ = false
b_is_thưa_
bool tensorflow::ops::SparseMatMul::Attrs::b_is_sparse_ = false
chuyển vị_a_
bool tensorflow::ops::SparseMatMul::Attrs::transpose_a_ = false
chuyển vị_b_
bool tensorflow::ops::SparseMatMul::Attrs::transpose_b_ = false
Chức năng công cộng
AIsthưa thớt
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::AIsSparse(
bool x
)
BIsthưa thớt
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::BIsSparse(
bool x
)
Chuyển vịA
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeA(
bool x
)
Chuyển đổiB
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeB(
bool x
)
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::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.1/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.1/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.1/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.1/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.1/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."]]