I tried your modified code and it still doesnt work. It needs to be a drop in replacement for my spread_dpv_hack method. I dont want there to be any correlation between input channels.
Lets simply my problem. Imagine you have a 100 images that you want to apply a 3x3 blur filter. And those 100 images are in a batch of 6. So you have [6,100, r, c]. I just want to apply the 3x3 blur filter across batches and channels. Why is this so difficult