未验证 提交 872e9eb3 编写于 作者: J Jason 提交者: GitHub

Update torchvision.transforms.ToPILImage.md

上级 5f86595d
...@@ -19,7 +19,6 @@ from paddle.vision.transforms import functional as F ...@@ -19,7 +19,6 @@ from paddle.vision.transforms import functional as F
class ToPILImage(BaseTransform): class ToPILImage(BaseTransform):
def __init__(self, mode=None, keys=None): def __init__(self, mode=None, keys=None):
super(ToTensor, self).__init__(keys) super(ToTensor, self).__init__(keys)
self.data_format = data_format
def _apply_image(self, pic): def _apply_image(self, pic):
""" """
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册