From 5457c35f5db178d75698e86b47565fa24d77c86d Mon Sep 17 00:00:00 2001 From: Vasilis Vryniotis Date: Mon, 1 Aug 2022 10:18:51 +0100 Subject: [PATCH] Remove duplicate doc args. --- torchvision/models/regnet.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/torchvision/models/regnet.py b/torchvision/models/regnet.py index d4b4147404c..f4555369284 100644 --- a/torchvision/models/regnet.py +++ b/torchvision/models/regnet.py @@ -1381,10 +1381,6 @@ def regnet_x_1_6gf(*, weights: Optional[RegNet_X_1_6GF_Weights] = None, progress .. autoclass:: torchvision.models.RegNet_X_1_6GF_Weights :members: - - Args: - weights (RegNet_X_1_6GF_Weights, optional): The pretrained weights for the model - progress (bool): If True, displays a progress bar of the download to stderr """ weights = RegNet_X_1_6GF_Weights.verify(weights) @@ -1410,10 +1406,6 @@ def regnet_x_3_2gf(*, weights: Optional[RegNet_X_3_2GF_Weights] = None, progress .. autoclass:: torchvision.models.RegNet_X_3_2GF_Weights :members: - - Args: - weights (RegNet_X_3_2GF_Weights, optional): The pretrained weights for the model - progress (bool): If True, displays a progress bar of the download to stderr """ weights = RegNet_X_3_2GF_Weights.verify(weights) @@ -1439,10 +1431,6 @@ def regnet_x_8gf(*, weights: Optional[RegNet_X_8GF_Weights] = None, progress: bo .. autoclass:: torchvision.models.RegNet_X_8GF_Weights :members: - - Args: - weights (RegNet_X_8GF_Weights, optional): The pretrained weights for the model - progress (bool): If True, displays a progress bar of the download to stderr """ weights = RegNet_X_8GF_Weights.verify(weights) @@ -1468,10 +1456,6 @@ def regnet_x_16gf(*, weights: Optional[RegNet_X_16GF_Weights] = None, progress: .. autoclass:: torchvision.models.RegNet_X_16GF_Weights :members: - - Args: - weights (RegNet_X_16GF_Weights, optional): The pretrained weights for the model - progress (bool): If True, displays a progress bar of the download to stderr """ weights = RegNet_X_16GF_Weights.verify(weights) @@ -1497,10 +1481,6 @@ def regnet_x_32gf(*, weights: Optional[RegNet_X_32GF_Weights] = None, progress: .. autoclass:: torchvision.models.RegNet_X_32GF_Weights :members: - - Args: - weights (RegNet_X_32GF_Weights, optional): The pretrained weights for the model - progress (bool): If True, displays a progress bar of the download to stderr """ weights = RegNet_X_32GF_Weights.verify(weights)