Solved by trougnouf in post #2 
              
              
                I think it’s view(bs, ch, ngroups, h, w) based on the following experiment: 
bs = = h = w = 1
ch = 3
ngroups = 4

>>> input = torch.zeros(bs, 3, h, w)
>>> input[0,1] = 1

>>> conv = torch.nn.Conv2d(ch, ch*ngroups, 1, groups=ch)

>>> conv.bias
Parameter containing:
tensor([ 0.7412,  0.8724, -0.6242, …