Yes actually it does through an error for 2, 3rd cases
I see, Thanks for the clarification. so we can never have groups more than in_channels
I copy and paste your explanation here for convenience:

image.png761×581 19 KB


image.png910×599 19.6 KB


image.png910×599 19.6 KB