Solved by vabh in post #2 
              
              
                Hi, 
The documentation states that both in_channels and out_channels should be divisible by groups. 
Does your second and third example not throws errors? 
Regarding the working of groups, essentially the in_channels is divided into sets, each containing in_channels / groups channels. Convolution is…