after
k_out = k_out.contiguous().view(batch, self.groups, self.out_channels // self.groups, height, width, -1)
it gives error,
RuntimeError: shape '[2, 1, 16, 34, 34, -1]' is invalid for input of size 294912
this is because of use of unfold on k_out before this, so height, width is not consistent.
after
it gives error,
this is because of use of unfold on k_out before this, so height, width is not consistent.