W3cubDocs

/TensorFlow C++

tensorflow::ops::MatMul::Attrs

#include <math_ops.h>

Optional attribute setters for MatMul.

Summary

Public attributes
transpose_a_ = false
bool
transpose_b_ = false
bool
Public functions
TransposeA(bool x)
TF_MUST_USE_RESULT Attrs
If true, "a" is transposed before multiplication.
TransposeB(bool x)
TF_MUST_USE_RESULT Attrs
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

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/mat-mul/attrs.html