Skip to content

Commit daea792

Browse files
committed
fix v1 comment
1 parent 95428cf commit daea792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/transforms/functional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,7 @@ def affine(
12481248

12491249
# Looks like to_grayscale() is a stand-alone functional that is never called
12501250
# from the transform classes. Perhaps it's still here for BC? I can't be
1251-
# bothered to dig. Anyway, this can be deprecated as we migrate to V2.
1251+
# bothered to dig.
12521252
@torch.jit.unused
12531253
def to_grayscale(img, num_output_channels=1):
12541254
"""Convert PIL image of any mode (RGB, HSV, LAB, etc) to grayscale version of image.

0 commit comments

Comments
 (0)