kernel_size: (int or tuple): Size of the max pooling window.
stride: (int or tuple): Stride of the max pooling window. It is set to kernel_size by default.
padding: (int or tuple): Padding that was added to the input
Note
MaxPool3d can map several input sizes to the same output sizes. Hence, the inversion process can get ambiguous. To accommodate this, you can provide the needed output size as an additional argument output_size in the forward call. See the Inputs section below.