From 872e9eb328f5f58a637fff8334cd3c04a22d5746 Mon Sep 17 00:00:00 2001 From: Jason Date: Mon, 16 Aug 2021 17:01:27 +0800 Subject: [PATCH] Update torchvision.transforms.ToPILImage.md --- .../API_docs/vision/torchvision.transforms.ToPILImage.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/pytorch_project_convertor/API_docs/vision/torchvision.transforms.ToPILImage.md b/docs/pytorch_project_convertor/API_docs/vision/torchvision.transforms.ToPILImage.md index 09e6d53..7c1c684 100644 --- a/docs/pytorch_project_convertor/API_docs/vision/torchvision.transforms.ToPILImage.md +++ b/docs/pytorch_project_convertor/API_docs/vision/torchvision.transforms.ToPILImage.md @@ -19,7 +19,6 @@ from paddle.vision.transforms import functional as F class ToPILImage(BaseTransform): def __init__(self, mode=None, keys=None): super(ToTensor, self).__init__(keys) - self.data_format = data_format def _apply_image(self, pic): """ -- GitLab