diff --git a/torchvision/transforms/functional.py b/torchvision/transforms/functional.py index 00836004375..855ce19bde4 100644 --- a/torchvision/transforms/functional.py +++ b/torchvision/transforms/functional.py @@ -21,6 +21,7 @@ class InterpolationMode(Enum): """Interpolation modes + Available interpolation methods are ``nearest``, ``bilinear``, ``bicubic``, ``box``, ``hamming``, and ``lanczos``. """ NEAREST = "nearest" BILINEAR = "bilinear"