Skip to content

Commit a5c86ff

Browse files
authored
Fix RegNet links in docs (#5937)
1 parent 522e9e1 commit a5c86ff

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

torchvision/models/regnet.py

+45-45
Original file line numberDiff line numberDiff line change
@@ -932,16 +932,16 @@ def regnet_y_400mf(*, weights: Optional[RegNet_Y_400MF_Weights] = None, progress
932932
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
933933
934934
Args:
935-
weights (:class:`torchvision.models.regnet.RegNet_Y_400MF_Weights`, optional): The pretrained weights to use.
936-
See :class:`~torchvision.models.regnet.RegNet_Y_400MF_Weights` below for more details and possible values.
935+
weights (:class:`~torchvision.models.RegNet_Y_400MF_Weights`, optional): The pretrained weights to use.
936+
See :class:`~torchvision.models.RegNet_Y_400MF_Weights` below for more details and possible values.
937937
By default, no pretrained weights are used.
938938
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
939939
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
940940
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
941941
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
942942
for more detail about the classes.
943943
944-
.. autoclass:: torchvision.models.regnet.RegNet_Y_400MF_Weights
944+
.. autoclass:: torchvision.models.RegNet_Y_400MF_Weights
945945
:members:
946946
"""
947947
weights = RegNet_Y_400MF_Weights.verify(weights)
@@ -957,16 +957,16 @@ def regnet_y_800mf(*, weights: Optional[RegNet_Y_800MF_Weights] = None, progress
957957
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
958958
959959
Args:
960-
weights (:class:`torchvision.models.regnet.RegNet_Y_800MF_Weights`, optional): The pretrained weights to use.
961-
See :class:`~torchvision.models.regnet.RegNet_Y_800MF_Weights` below for more details and possible values.
960+
weights (:class:`~torchvision.models.RegNet_Y_800MF_Weights`, optional): The pretrained weights to use.
961+
See :class:`~torchvision.models.RegNet_Y_800MF_Weights` below for more details and possible values.
962962
By default, no pretrained weights are used.
963963
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
964964
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
965965
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
966966
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
967967
for more detail about the classes.
968968
969-
.. autoclass:: torchvision.models.regnet.RegNet_Y_800MF_Weights
969+
.. autoclass:: torchvision.models.RegNet_Y_800MF_Weights
970970
:members:
971971
"""
972972
weights = RegNet_Y_800MF_Weights.verify(weights)
@@ -982,16 +982,16 @@ def regnet_y_1_6gf(*, weights: Optional[RegNet_Y_1_6GF_Weights] = None, progress
982982
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
983983
984984
Args:
985-
weights (:class:`torchvision.models.regnet.RegNet_Y_1_6GF_Weights`, optional): The pretrained weights to use.
986-
See :class:`~torchvision.models.regnet.RegNet_Y_1_6GF_Weights` below for more details and possible values.
985+
weights (:class:`~torchvision.models.RegNet_Y_1_6GF_Weights`, optional): The pretrained weights to use.
986+
See :class:`~torchvision.models.RegNet_Y_1_6GF_Weights` below for more details and possible values.
987987
By default, no pretrained weights are used.
988988
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
989989
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
990990
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
991991
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
992992
for more detail about the classes.
993993
994-
.. autoclass:: torchvision.models.regnet.RegNet_Y_1_6GF_Weights
994+
.. autoclass:: torchvision.models.RegNet_Y_1_6GF_Weights
995995
:members:
996996
"""
997997
weights = RegNet_Y_1_6GF_Weights.verify(weights)
@@ -1009,16 +1009,16 @@ def regnet_y_3_2gf(*, weights: Optional[RegNet_Y_3_2GF_Weights] = None, progress
10091009
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
10101010
10111011
Args:
1012-
weights (:class:`torchvision.models.regnet.RegNet_Y_3_2GF_Weights`, optional): The pretrained weights to use.
1013-
See :class:`~torchvision.models.regnet.RegNet_Y_3_2GF_Weights` below for more details and possible values.
1012+
weights (:class:`~torchvision.models.RegNet_Y_3_2GF_Weights`, optional): The pretrained weights to use.
1013+
See :class:`~torchvision.models.RegNet_Y_3_2GF_Weights` below for more details and possible values.
10141014
By default, no pretrained weights are used.
10151015
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
10161016
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
10171017
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
10181018
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
10191019
for more detail about the classes.
10201020
1021-
.. autoclass:: torchvision.models.regnet.RegNet_Y_3_2GF_Weights
1021+
.. autoclass:: torchvision.models.RegNet_Y_3_2GF_Weights
10221022
:members:
10231023
"""
10241024
weights = RegNet_Y_3_2GF_Weights.verify(weights)
@@ -1036,16 +1036,16 @@ def regnet_y_8gf(*, weights: Optional[RegNet_Y_8GF_Weights] = None, progress: bo
10361036
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
10371037
10381038
Args:
1039-
weights (:class:`torchvision.models.regnet.RegNet_Y_8GF_Weights`, optional): The pretrained weights to use.
1040-
See :class:`~torchvision.models.regnet.RegNet_Y_8GF_Weights` below for more details and possible values.
1039+
weights (:class:`~torchvision.models.RegNet_Y_8GF_Weights`, optional): The pretrained weights to use.
1040+
See :class:`~torchvision.models.RegNet_Y_8GF_Weights` below for more details and possible values.
10411041
By default, no pretrained weights are used.
10421042
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
10431043
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
10441044
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
10451045
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
10461046
for more detail about the classes.
10471047
1048-
.. autoclass:: torchvision.models.regnet.RegNet_Y_8GF_Weights
1048+
.. autoclass:: torchvision.models.RegNet_Y_8GF_Weights
10491049
:members:
10501050
"""
10511051
weights = RegNet_Y_8GF_Weights.verify(weights)
@@ -1063,16 +1063,16 @@ def regnet_y_16gf(*, weights: Optional[RegNet_Y_16GF_Weights] = None, progress:
10631063
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
10641064
10651065
Args:
1066-
weights (:class:`torchvision.models.regnet.RegNet_Y_16GF_Weights`, optional): The pretrained weights to use.
1067-
See :class:`~torchvision.models.regnet.RegNet_Y_16GF_Weights` below for more details and possible values.
1066+
weights (:class:`~torchvision.models.RegNet_Y_16GF_Weights`, optional): The pretrained weights to use.
1067+
See :class:`~torchvision.models.RegNet_Y_16GF_Weights` below for more details and possible values.
10681068
By default, no pretrained weights are used.
10691069
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
10701070
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
10711071
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
10721072
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
10731073
for more detail about the classes.
10741074
1075-
.. autoclass:: torchvision.models.regnet.RegNet_Y_16GF_Weights
1075+
.. autoclass:: torchvision.models.RegNet_Y_16GF_Weights
10761076
:members:
10771077
"""
10781078
weights = RegNet_Y_16GF_Weights.verify(weights)
@@ -1090,16 +1090,16 @@ def regnet_y_32gf(*, weights: Optional[RegNet_Y_32GF_Weights] = None, progress:
10901090
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
10911091
10921092
Args:
1093-
weights (:class:`torchvision.models.regnet.RegNet_Y_32GF_Weights`, optional): The pretrained weights to use.
1094-
See :class:`~torchvision.models.regnet.RegNet_Y_32GF_Weights` below for more details and possible values.
1093+
weights (:class:`~torchvision.models.RegNet_Y_32GF_Weights`, optional): The pretrained weights to use.
1094+
See :class:`~torchvision.models.RegNet_Y_32GF_Weights` below for more details and possible values.
10951095
By default, no pretrained weights are used.
10961096
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
10971097
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
10981098
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
10991099
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
11001100
for more detail about the classes.
11011101
1102-
.. autoclass:: torchvision.models.regnet.RegNet_Y_32GF_Weights
1102+
.. autoclass:: torchvision.models.RegNet_Y_32GF_Weights
11031103
:members:
11041104
"""
11051105
weights = RegNet_Y_32GF_Weights.verify(weights)
@@ -1117,16 +1117,16 @@ def regnet_y_128gf(*, weights: Optional[RegNet_Y_128GF_Weights] = None, progress
11171117
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
11181118
11191119
Args:
1120-
weights (:class:`torchvision.models.regnet.RegNet_Y_128GF_Weights`, optional): The pretrained weights to use.
1121-
See :class:`~torchvision.models.regnet.RegNet_Y_128GF_Weights` below for more details and possible values.
1120+
weights (:class:`~torchvision.models.RegNet_Y_128GF_Weights`, optional): The pretrained weights to use.
1121+
See :class:`~torchvision.models.RegNet_Y_128GF_Weights` below for more details and possible values.
11221122
By default, no pretrained weights are used.
11231123
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
11241124
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
11251125
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
11261126
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
11271127
for more detail about the classes.
11281128
1129-
.. autoclass:: torchvision.models.regnet.RegNet_Y_128GF_Weights
1129+
.. autoclass:: torchvision.models.RegNet_Y_128GF_Weights
11301130
:members:
11311131
"""
11321132
weights = RegNet_Y_128GF_Weights.verify(weights)
@@ -1144,16 +1144,16 @@ def regnet_x_400mf(*, weights: Optional[RegNet_X_400MF_Weights] = None, progress
11441144
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
11451145
11461146
Args:
1147-
weights (:class:`torchvision.models.regnet.RegNet_X_400MF_Weights`, optional): The pretrained weights to use.
1148-
See :class:`~torchvision.models.regnet.RegNet_X_400MF_Weights` below for more details and possible values.
1147+
weights (:class:`~torchvision.models.RegNet_X_400MF_Weights`, optional): The pretrained weights to use.
1148+
See :class:`~torchvision.models.RegNet_X_400MF_Weights` below for more details and possible values.
11491149
By default, no pretrained weights are used.
11501150
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
11511151
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
11521152
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
11531153
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
11541154
for more detail about the classes.
11551155
1156-
.. autoclass:: torchvision.models.regnet.RegNet_X_400MF_Weights
1156+
.. autoclass:: torchvision.models.RegNet_X_400MF_Weights
11571157
:members:
11581158
"""
11591159
weights = RegNet_X_400MF_Weights.verify(weights)
@@ -1169,16 +1169,16 @@ def regnet_x_800mf(*, weights: Optional[RegNet_X_800MF_Weights] = None, progress
11691169
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
11701170
11711171
Args:
1172-
weights (:class:`torchvision.models.regnet.RegNet_X_800MF_Weights`, optional): The pretrained weights to use.
1173-
See :class:`~torchvision.models.regnet.RegNet_X_800MF_Weights` below for more details and possible values.
1172+
weights (:class:`~torchvision.models.RegNet_X_800MF_Weights`, optional): The pretrained weights to use.
1173+
See :class:`~torchvision.models.RegNet_X_800MF_Weights` below for more details and possible values.
11741174
By default, no pretrained weights are used.
11751175
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
11761176
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
11771177
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
11781178
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
11791179
for more detail about the classes.
11801180
1181-
.. autoclass:: torchvision.models.regnet.RegNet_X_800MF_Weights
1181+
.. autoclass:: torchvision.models.RegNet_X_800MF_Weights
11821182
:members:
11831183
"""
11841184
weights = RegNet_X_800MF_Weights.verify(weights)
@@ -1194,16 +1194,16 @@ def regnet_x_1_6gf(*, weights: Optional[RegNet_X_1_6GF_Weights] = None, progress
11941194
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
11951195
11961196
Args:
1197-
weights (:class:`torchvision.models.regnet.RegNet_X_1_6GF_Weights`, optional): The pretrained weights to use.
1198-
See :class:`~torchvision.models.regnet.RegNet_X_1_6GF_Weights` below for more details and possible values.
1197+
weights (:class:`~torchvision.models.RegNet_X_1_6GF_Weights`, optional): The pretrained weights to use.
1198+
See :class:`~torchvision.models.RegNet_X_1_6GF_Weights` below for more details and possible values.
11991199
By default, no pretrained weights are used.
12001200
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
12011201
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
12021202
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
12031203
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
12041204
for more detail about the classes.
12051205
1206-
.. autoclass:: torchvision.models.regnet.RegNet_X_1_6GF_Weights
1206+
.. autoclass:: torchvision.models.RegNet_X_1_6GF_Weights
12071207
:members:
12081208
12091209
Args:
@@ -1223,16 +1223,16 @@ def regnet_x_3_2gf(*, weights: Optional[RegNet_X_3_2GF_Weights] = None, progress
12231223
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
12241224
12251225
Args:
1226-
weights (:class:`torchvision.models.regnet.RegNet_X_3_2GF_Weights`, optional): The pretrained weights to use.
1227-
See :class:`~torchvision.models.regnet.RegNet_X_3_2GF_Weights` below for more details and possible values.
1226+
weights (:class:`~torchvision.models.RegNet_X_3_2GF_Weights`, optional): The pretrained weights to use.
1227+
See :class:`~torchvision.models.RegNet_X_3_2GF_Weights` below for more details and possible values.
12281228
By default, no pretrained weights are used.
12291229
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
12301230
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
12311231
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
12321232
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
12331233
for more detail about the classes.
12341234
1235-
.. autoclass:: torchvision.models.regnet.RegNet_X_3_2GF_Weights
1235+
.. autoclass:: torchvision.models.RegNet_X_3_2GF_Weights
12361236
:members:
12371237
12381238
Args:
@@ -1252,16 +1252,16 @@ def regnet_x_8gf(*, weights: Optional[RegNet_X_8GF_Weights] = None, progress: bo
12521252
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
12531253
12541254
Args:
1255-
weights (:class:`torchvision.models.regnet.RegNet_X_8GF_Weights`, optional): The pretrained weights to use.
1256-
See :class:`~torchvision.models.regnet.RegNet_X_8GF_Weights` below for more details and possible values.
1255+
weights (:class:`~torchvision.models.RegNet_X_8GF_Weights`, optional): The pretrained weights to use.
1256+
See :class:`~torchvision.models.RegNet_X_8GF_Weights` below for more details and possible values.
12571257
By default, no pretrained weights are used.
12581258
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
12591259
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
12601260
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
12611261
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
12621262
for more detail about the classes.
12631263
1264-
.. autoclass:: torchvision.models.regnet.RegNet_X_8GF_Weights
1264+
.. autoclass:: torchvision.models.RegNet_X_8GF_Weights
12651265
:members:
12661266
12671267
Args:
@@ -1281,16 +1281,16 @@ def regnet_x_16gf(*, weights: Optional[RegNet_X_16GF_Weights] = None, progress:
12811281
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
12821282
12831283
Args:
1284-
weights (:class:`torchvision.models.regnet.RegNet_X_16GF_Weights`, optional): The pretrained weights to use.
1285-
See :class:`~torchvision.models.regnet.RegNet_X_16GF_Weights` below for more details and possible values.
1284+
weights (:class:`~torchvision.models.RegNet_X_16GF_Weights`, optional): The pretrained weights to use.
1285+
See :class:`~torchvision.models.RegNet_X_16GF_Weights` below for more details and possible values.
12861286
By default, no pretrained weights are used.
12871287
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
12881288
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
12891289
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
12901290
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
12911291
for more detail about the classes.
12921292
1293-
.. autoclass:: torchvision.models.regnet.RegNet_X_16GF_Weights
1293+
.. autoclass:: torchvision.models.RegNet_X_16GF_Weights
12941294
:members:
12951295
12961296
Args:
@@ -1310,16 +1310,16 @@ def regnet_x_32gf(*, weights: Optional[RegNet_X_32GF_Weights] = None, progress:
13101310
`Designing Network Design Spaces <https://arxiv.org/abs/2003.13678>`_.
13111311
13121312
Args:
1313-
weights (:class:`torchvision.models.regnet.RegNet_X_32GF_Weights`, optional): The pretrained weights to use.
1314-
See :class:`~torchvision.models.regnet.RegNet_X_32GF_Weights` below for more details and possible values.
1313+
weights (:class:`~torchvision.models.RegNet_X_32GF_Weights`, optional): The pretrained weights to use.
1314+
See :class:`~torchvision.models.RegNet_X_32GF_Weights` below for more details and possible values.
13151315
By default, no pretrained weights are used.
13161316
progress (bool, optional): If True, displays a progress bar of the download to stderr. Default is True.
13171317
**kwargs: parameters passed to either ``torchvision.models.regnet.RegNet`` or
13181318
``torchvision.models.regnet.BlockParams`` class. Please refer to the `source code
13191319
<https://github.com/pytorch/vision/blob/main/torchvision/models/regnet.py>`_
13201320
for more detail about the classes.
13211321
1322-
.. autoclass:: torchvision.models.regnet.RegNet_X_32GF_Weights
1322+
.. autoclass:: torchvision.models.RegNet_X_32GF_Weights
13231323
:members:
13241324
13251325
Args:

0 commit comments

Comments
 (0)