Created by: sfraczek
Introduce MKLDNN fuse pass (designed especially for Ernie) named reshape_transpose_matmul_mkldnn_fuse_pass
. It fusses reshape and transpose operations in the inputs of matmul into the matmul operator itself.
To acheive this it adds 4 new attributes to matmul_op.
- fused_transpose_X,
- fused_transpose_Y,
- fused_reshape_X,
- fused_reshape_Y.