Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
flux tensoriel : : opérations : : SparseMatMul :: Attributs
#include <math_ops.h>
Setters d'attributs facultatifs pour SparseMatMul .
Résumé
Fonctions publiques |
---|
AIsSparse (bool x) | La valeur par défaut est false. |
BIsSparse (bool x) | La valeur par défaut est false. |
TransposeA (bool x) | La valeur par défaut est false. |
TransposeB (bool x) | La valeur par défaut est false. |
Attributs publics
a_is_sparse_
bool tensorflow::ops::SparseMatMul::Attrs::a_is_sparse_ = false
b_is_sparse_
bool tensorflow::ops::SparseMatMul::Attrs::b_is_sparse_ = false
transpose_a_
bool tensorflow::ops::SparseMatMul::Attrs::transpose_a_ = false
transpose_b_
bool tensorflow::ops::SparseMatMul::Attrs::transpose_b_ = false
Fonctions publiques
AIsSparse
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::AIsSparse(
bool x
)
La valeur par défaut est false.
BIsSparse
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::BIsSparse(
bool x
)
La valeur par défaut est false.
TransposerA
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeA(
bool x
)
La valeur par défaut est false.
TransposerB
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeB(
bool x
)
La valeur par défaut est false.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 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."]]