.. role:: hidden :class: hidden-section .. currentmodule:: torchvision.transforms.functional to_grayscale ============ .. autofunction:: to_grayscale