MatMulReshapeBiasAddFusionPass
Description
Applies a Reshape operation to the output of the MatMul operator, followed by a BiasAdd/Add operation on the reshaped output.

Restrictions
- MatMul/MatMulV2 can have only two inputs.
- The input of BiasAdd/Add must be the outputs of Bias and Reshape.
- The Reshape node cannot split the last axis of the MatMul output.
- The shape of BiasAdd/Add is the last axis of the MatMul output.
- This fusion pattern takes effect only in the static graph mode.
Availability
Atlas 350 Accelerator Card
Parent topic: Graph Fusion Patterns