Why does maxpool layer get reused?

Since MaxPool2d doesn’t have any parameters/state. Alternatively, you can use the functional form nn.functional.max_pool_2d