Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::SparseMatMul::Attrs
#include <math_ops.h>
Optional attribute setters for SparseMatMul.
Summary
Public attributes
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
Public functions
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
)
TransposeA
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeA(
bool x
)
TransposeB
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeB(
bool x
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-11-15 UTC.
[null,null,["Last updated 2021-11-15 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](/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](/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](/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](/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](/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."]]