Fill value of torchvision.transforms.functional RandomRotate

Hi there,

I am confused with the documents inside torchvision.transforms.functional RandomRotate.

Fill value for the area outside the transform in the output mage is always 0.

How should I understand this behaviour?


When you rotate an image you might get “borders”, which have to be filled with a specific value, which is set to 0 in this case.