Hello all, I have a tensor size of BxCxHxW. I want to unfold the tensor with a kernel size of K into non-overlapped patches. Do we have any equation to compute the stride and padding for the unfold 3 function, such that the patches can be used to fold the original tensor BxCxHxW by fold function?
For example, a tensor size of 16x32x56x56 undolds with size of k=6, which should I use stride and padding value?