TensorFlow 2.0 Beta is available Learn more

tensorflow::ops::SparseMatMul::Attrs

#include <math_ops.h>

Optional attribute setters for SparseMatMul.

Summary

Public attributes

a_is_sparse_ = false
bool
b_is_sparse_ = false
bool
transpose_a_ = false
bool
transpose_b_ = false
bool

Public functions

AIsSparse(bool x)
TF_MUST_USE_RESULT Attrs
Defaults to false.
BIsSparse(bool x)
TF_MUST_USE_RESULT Attrs
Defaults to false.
TransposeA(bool x)
TF_MUST_USE_RESULT Attrs
Defaults to false.
TransposeB(bool x)
TF_MUST_USE_RESULT Attrs
Defaults to false.

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
)

Defaults to false.

BIsSparse

TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::BIsSparse(
  bool x
)

Defaults to false.

TransposeA

TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeA(
  bool x
)

Defaults to false.

TransposeB

TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseMatMul::Attrs::TransposeB(
  bool x
)

Defaults to false.