Unverified Commit c163fc42 authored by vfdev's avatar vfdev Committed by GitHub
Browse files

Update functional.py (#2685)

parent cd4761f4
......@@ -107,7 +107,7 @@ def to_tensor(pic):
def pil_to_tensor(pic):
"""Convert a ``PIL Image`` to a tensor of the same type.
See ``AsTensor`` for more details.
See :class:`~torchvision.transforms.PILToTensor` for more details.
Args:
pic (PIL Image): Image to be converted to tensor.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment