Solved by JuanFMontesinos in post #3 
              
              
                Hi, 
I think you can achieve this by using a custom nn.Module. 
You can write a nn.Module which has only half of the parameters for the convolution. 
In the forward pass you just need to build the whole kernel but using that reduced amount of parameters and call the convolution functional. 
This way…