Implement the Overlapping Max Pooling operation. Unlike standard max pooling, overlapping pooling uses a stride smaller than the kernel size, causing pooling regions to overlap. Given a 4D tensor input (N, C, H, W), apply 2D max pooling with a specified kernel size and stride, where stride < kernel_size.
Important: Ceil Mode Behavior
This problem uses ceil mode for computing output dimensions, which differs from PyTorch's default behavior (floor mode). Ceil mode allows partial windows at boundaries, producing larger outputs than floor mode.
For example, with a 4x4 input, kernel_size=3, stride=2:
When a pooling window extends beyond the input boundaries, take the max over whatever valid elements exist within that window region.