Hi,
- I need a way to resize the inputs like
MaxPool2d
do with kernel size
nn.MaxPool2d(kernel_size=2)
but in a form like Resize
because Resize
has interpolation mode to set.
I checked a bit, seams like neither of the pooling methods has interpolation parameter to set.
- The other thing I need is something like maxunpooling2d with kernel size. I would like to set the kernel size of 2 to double the size of the input axes keeping the max values. Currently as I checked maxunpooling2d sets 0 for elements other than indices, and you need to provide the indices.