refactoring [p/s]convolution