Closed Max191 closed 2 months ago
Can we add few tests to cover the
size(m_offset) > 1
case andsize(k_offset) > 1
case?
I am actually just going to force these offsets to be size 1 for now. Size greater than 1 means that the matmul consuming the im2col op has multiple M
or K
dimensions. I am only implementing the decomposition and tiling for M
and K
size 1 cases right now, so I realized I should probably just restrict this. These cases may actually show up when we have data tiling for convolutions on GPU, but that will take a bit of time, so I am going to wait until later to support multiple M
and K
dims.
This PR adds a new iree_linalg_ext.im2col op representing the im2col transformation for convolutions. The PR contains the op definition and the verifier.