Created by: arlesniak
This PR fuses the following sequence of ops for Ernie: prev_op-(4dim)->mkldnn_matmul-(4dim)->transpose-(4dim)->reshape-(3dim)->next_op -------------------------------------------> axis={0,2,1,3}---->shape={0,0,[-2]*[-1]} into: prev_op-(4dim)->mkldnn_matmul-(3dim)->next_op
Also the fuse adds two new attributes to matmul_op: fused_transpose_Out (axis from transpose) and fused_reshape_Out (shape from reshape) to be used by mkldnn MM kernel