Reshape inputs size should be compatible

Please refer.