for spatial convolution if self.gradInput is nil, then dont do gradinput (first layer)