Class MatMul

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Derived Type

Class Documentation

class MatMul : public mindspore::ops::BaseOperator

Multiplies matrix a and matrix b. Refer to Python API mindspore.ops.MatMul for more details.

Subclassed by mindspore::ops::MatMulFusion

Public Functions

inline MatMul()

Constructor.

void Init(bool transpose_a = false, bool transpose_b = false)

Init. Refer to the parameters of Python API mindspore.ops.MatMul for the inputs.

void set_transpose_a(bool transpose_a)

Set transpose_a.

void set_transpose_b(bool transpose_b)

Set transpose_b.

bool get_transpose_a() const

Get transpose_a.

Returns

transpose_a.

bool get_transpose_b() const

Get transpose_b.

Returns

transpose_b.