If you look at the docs you will see that it does resize the input. If you look further in the source code, you can see exactly how the resizing works. But in short, if you don’t want it to resize, just set the min and max to the shape of your input