Class ov::op::v0::MatMul#

class MatMul : public ov::op::Op#

Operator performing Matrix Multiplication.

Public Functions

MatMul(const Output<Node> &A, const Output<Node> &B, const bool &transpose_a = false, const bool &transpose_b = false)#

Constructs an Matrix Multiplication operation.

Parameters:
  • A – Matrix A

  • B – Matrix B

  • transpose_a – If matrix A should be transposed.

  • transpose_b – If matrix B should be transposed.

virtual void validate_and_infer_types() override#

Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.

Throws if the node is invalid.

virtual bool has_evaluate() const override#

Allows to get information about availability of evaluate method for the current operation.