convolution gradient with [K, H, W, N] data structure