Unpooling with switches puts each activation back at the position where its maximum came from, and leaves zeros elsewhere. The visualizer then runs the network backwards to project a feature onto image pixels.
Implement unpool_with_switches(pooled, switches, size), the inverse of max-pooling on the recorded maxima.
Allocate zeros of length len(pooled) * size, then write each pooled value at window start plus its switch offset.
No results yet
Run your code to check it against the examples, or submit to run every test.