use compound op to unroll and fuse inner loop of mnist benchmark