I selected the channels randomly as 3, since it would correspond to an RGB image.
The kernel size and stride of 12 were chosen to create 4 patches of the 24x24 spatial input shape.
You might need to change it, if your input shape is different.