Max Pooling with Argmax Coordinates

Problem: Implement 2D Max Pooling and Return Argmax Coordinates

Given an integer matrix grid of size H x W, a pooling window size kH x kW, and strides sH, sW.

Implement 2D max pooling: fo...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: