Skip to content

Commit

Permalink
Remove duplicate doc args. (#6340)
Browse files Browse the repository at this point in the history
  • Loading branch information
datumbox committed Aug 1, 2022
1 parent 0a919db commit b30fa5c
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions torchvision/models/regnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -1392,10 +1392,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)

Expand All @@ -1422,10 +1418,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)

Expand All @@ -1452,10 +1444,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)

Expand All @@ -1482,10 +1470,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)

Expand All @@ -1512,10 +1496,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)

Expand Down

0 comments on commit b30fa5c

Please sign in to comment.