Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
aliran tensor:: operasi:: JarangMatMul:: Attr
#include <math_ops.h>
Penyetel atribut opsional untuk SparseMatMul .
Ringkasan
Atribut publik
a_is_jarang_
bool tensorflow::ops::SparseMatMul::Attrs::a_is_sparse_ = false
b_is_jarang_
bool tensorflow::ops::SparseMatMul::Attrs::b_is_sparse_ = false
mengubah urutan_a_
bool tensorflow::ops::SparseMatMul::Attrs::transpose_a_ = false
mengubah urutan_b_
bool tensorflow::ops::SparseMatMul::Attrs::transpose_b_ = false
Fungsi publik
AIsSparse
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
)
Mengubah urutanA
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeA(
bool x
)
TransposB
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeB(
bool x
)
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 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."]]