How VTA convert conv 2D to GEMM?

How to convert conv2d to GEMM in VTA and is there any example of tensor splitting and data flow? Thanks for your attention.