Skip to content

Commit 66d7642

Browse files
committed
Fixing docs.
1 parent 469eadd commit 66d7642

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

torchvision/models/quantization/googlenet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def googlenet(
153153
GPU inference is not yet supported
154154
155155
Args:
156-
pretrained (GoogLeNet_QuantizedWeights or GoogLeNet_Weights, optional): The pretrained
156+
weights (GoogLeNet_QuantizedWeights or GoogLeNet_Weights, optional): The pretrained
157157
weights for the model
158158
progress (bool): If True, displays a progress bar of the download to stderr
159159
quantize (bool): If True, return a quantized version of the model

torchvision/models/quantization/inception.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def inception_v3(
223223
GPU inference is not yet supported
224224
225225
Args:
226-
pretrained (Inception_V3_QuantizedWeights or Inception_V3_Weights, optional): The pretrained
226+
weights (Inception_V3_QuantizedWeights or Inception_V3_Weights, optional): The pretrained
227227
weights for the model
228228
progress (bool): If True, displays a progress bar of the download to stderr
229229
quantize (bool): If True, return a quantized version of the model

torchvision/models/quantization/mobilenetv2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def mobilenet_v2(
113113
GPU inference is not yet supported
114114
115115
Args:
116-
pretrained (GoogLeNet_QuantizedWeights or GoogLeNet_Weights, optional): The pretrained
116+
weights (GoogLeNet_QuantizedWeights or GoogLeNet_Weights, optional): The pretrained
117117
weights for the model
118118
progress (bool): If True, displays a progress bar of the download to stderr
119119
quantize(bool): If True, returns a quantized model, else returns a float model

torchvision/models/quantization/mobilenetv3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def mobilenet_v3_large(
202202
GPU inference is not yet supported
203203
204204
Args:
205-
pretrained (MobileNet_V3_Large_QuantizedWeights or MobileNet_V3_Large_Weights, optional): The pretrained
205+
weights (MobileNet_V3_Large_QuantizedWeights or MobileNet_V3_Large_Weights, optional): The pretrained
206206
weights for the model
207207
progress (bool): If True, displays a progress bar of the download to stderr
208208
quantize (bool): If True, returns a quantized model, else returns a float model

torchvision/models/quantization/resnet.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def resnet18(
254254
`"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_
255255
256256
Args:
257-
pretrained (ResNet18_QuantizedWeights or ResNet18_Weights, optional): The pretrained
257+
weights (ResNet18_QuantizedWeights or ResNet18_Weights, optional): The pretrained
258258
weights for the model
259259
progress (bool): If True, displays a progress bar of the download to stderr
260260
quantize (bool): If True, return a quantized version of the model
@@ -283,7 +283,7 @@ def resnet50(
283283
`"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_
284284
285285
Args:
286-
pretrained (ResNet50_QuantizedWeights or ResNet50_Weights, optional): The pretrained
286+
weights (ResNet50_QuantizedWeights or ResNet50_Weights, optional): The pretrained
287287
weights for the model
288288
progress (bool): If True, displays a progress bar of the download to stderr
289289
quantize (bool): If True, return a quantized version of the model
@@ -312,7 +312,7 @@ def resnext101_32x8d(
312312
`"Aggregated Residual Transformation for Deep Neural Networks" <https://arxiv.org/pdf/1611.05431.pdf>`_
313313
314314
Args:
315-
pretrained (ResNeXt101_32X8D_QuantizedWeights or ResNeXt101_32X8D_Weights, optional): The pretrained
315+
weights (ResNeXt101_32X8D_QuantizedWeights or ResNeXt101_32X8D_Weights, optional): The pretrained
316316
weights for the model
317317
progress (bool): If True, displays a progress bar of the download to stderr
318318
quantize (bool): If True, return a quantized version of the model

torchvision/models/quantization/shufflenetv2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def shufflenet_v2_x0_5(
166166
<https://arxiv.org/abs/1807.11164>`_.
167167
168168
Args:
169-
pretrained (ShuffleNet_V2_X0_5_QuantizedWeights or ShuffleNet_V2_X0_5_Weights, optional): The pretrained
169+
weights (ShuffleNet_V2_X0_5_QuantizedWeights or ShuffleNet_V2_X0_5_Weights, optional): The pretrained
170170
weights for the model
171171
progress (bool): If True, displays a progress bar of the download to stderr
172172
quantize (bool): If True, return a quantized version of the model
@@ -198,7 +198,7 @@ def shufflenet_v2_x1_0(
198198
<https://arxiv.org/abs/1807.11164>`_.
199199
200200
Args:
201-
pretrained (ShuffleNet_V2_X1_0_QuantizedWeights or ShuffleNet_V2_X1_0_Weights, optional): The pretrained
201+
weights (ShuffleNet_V2_X1_0_QuantizedWeights or ShuffleNet_V2_X1_0_Weights, optional): The pretrained
202202
weights for the model
203203
progress (bool): If True, displays a progress bar of the download to stderr
204204
quantize (bool): If True, return a quantized version of the model

0 commit comments

Comments
 (0)