Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::MatMul::Attrs
#include <math_ops.h>
Optional attribute setters for MatMul.
Summary
Public functions
|
TransposeA(bool x)
|
If true, "a" is transposed before multiplication.
|
TransposeB(bool x)
|
If true, "b" is transposed before multiplication.
|
Public attributes
transpose_a_
bool tensorflow::ops::MatMul::Attrs::transpose_a_ = false
transpose_b_
bool tensorflow::ops::MatMul::Attrs::transpose_b_ = false
Public functions
TransposeA
TF_MUST_USE_RESULT Attrs tensorflow::ops::MatMul::Attrs::TransposeA(
bool x
)
If true, "a" is transposed before multiplication.
Defaults to false
TransposeB
TF_MUST_USE_RESULT Attrs tensorflow::ops::MatMul::Attrs::TransposeB(
bool x
)
If true, "b" is transposed before multiplication.
Defaults to false
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.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],null,["# tensorflow::ops::MatMul::Attrs Struct Reference\n\ntensorflow::ops::MatMul::Attrs\n==============================\n\n`#include \u003cmath_ops.h\u003e`\n\nOptional attribute setters for [MatMul](/versions/r1.15/api_docs/cc/class/tensorflow/ops/mat-mul#classtensorflow_1_1ops_1_1_mat_mul).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------|--------|\n| [transpose_a_](#structtensorflow_1_1ops_1_1_mat_mul_1_1_attrs_1ada650ed9f122446f44732719c95a3e2c)` = false` | `bool` |\n| [transpose_b_](#structtensorflow_1_1ops_1_1_mat_mul_1_1_attrs_1a9e72214c611b504086cee05306722700)` = false` | `bool` |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [TransposeA](#structtensorflow_1_1ops_1_1_mat_mul_1_1_attrs_1a42e30ed144cdf5e182158fe2de403bfb)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/mat-mul/attrs#structtensorflow_1_1ops_1_1_mat_mul_1_1_attrs) If true, \"a\" is transposed before multiplication. |\n| [TransposeB](#structtensorflow_1_1ops_1_1_mat_mul_1_1_attrs_1adb365fb2b5b71549abe05aee9da5843e)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/mat-mul/attrs#structtensorflow_1_1ops_1_1_mat_mul_1_1_attrs) If true, \"b\" is transposed before multiplication. |\n\nPublic attributes\n-----------------\n\n### transpose_a_\n\n```scdoc\nbool tensorflow::ops::MatMul::Attrs::transpose_a_ = false\n``` \n\n### transpose_b_\n\n```scdoc\nbool tensorflow::ops::MatMul::Attrs::transpose_b_ = false\n``` \n\nPublic functions\n----------------\n\n### TransposeA\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::MatMul::Attrs::TransposeA(\n bool x\n)\n``` \nIf true, \"a\" is transposed before multiplication.\n\nDefaults to false \n\n### TransposeB\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::MatMul::Attrs::TransposeB(\n bool x\n)\n``` \nIf true, \"b\" is transposed before multiplication.\n\nDefaults to false"]]