torch.nn.FractionalMaxPool2d

torch.nn.FractionalMaxPool2d,How does this function calculate the result?Is there a formula?

You can find in the doc here all the information and the link to the original paper.