Maxpool in Flux 0.8

This line is from the model-zoo, mnist, conv example (source:

Chain(..., x -> maxpool(x, (2,2)), ...)

It doesn’t work in Flux 0.8.3, with the error (see:

Error: no method matching maxpool(::TrackedArray, ::Tuple)

I’m trying to understand how to construct convolutional neural networks in Flux. How do I have to modify this code to make it work in Flux 0.8?

The answer is here