Solved by eqy in post #2 
              
              
                I think in most cases “kernel” and “weight” are used interchangeably for convolutions. For example, “kernel size” usually specifies the spatial dimensions of the weight tensor. 
As for the torch.stack ([torch.mean (trained_kernel, 1)] * 6, dim = 1) here, I don’t think that is very common, but it is …