You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: torchvision/models/quantization/inception.py
+21-5Lines changed: 21 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -208,7 +208,7 @@ def inception_v3(
208
208
**kwargs: Any,
209
209
) ->QuantizableInception3:
210
210
r"""Inception v3 model architecture from
211
-
`"Rethinking the Inception Architecture for Computer Vision" <http://arxiv.org/abs/1512.00567>`_.
211
+
`Rethinking the Inception Architecture for Computer Vision <http://arxiv.org/abs/1512.00567>`__.
212
212
213
213
.. note::
214
214
**Important**: In contrast to the other models the inception_v3 expects tensors with a size of
@@ -219,10 +219,26 @@ def inception_v3(
219
219
GPU inference is not yet supported
220
220
221
221
Args:
222
-
weights (Inception_V3_QuantizedWeights or Inception_V3_Weights, optional): The pretrained
223
-
weights for the model
224
-
progress (bool): If True, displays a progress bar of the download to stderr
225
-
quantize (bool): If True, return a quantized version of the model
222
+
weights (:class:`~torchvision.models.quantization.Inception_V3_QuantizedWeights` or :class:`~torchvision.models.Inception_V3_Weights`, optional): The pretrained
223
+
weights for the model. See
224
+
:class:`~torchvision.models.quantization.Inception_V3_QuantizedWeights` below for
225
+
more details, and possible values. By default, no pre-trained
226
+
weights are used.
227
+
progress (bool, optional): If True, displays a progress bar of the download to stderr.
228
+
Default is True.
229
+
quantize (bool, optional): If True, return a quantized version of the model.
230
+
Default is False.
231
+
**kwargs: parameters passed to the ``torchvision.models.quantization.QuantizableInception3``
0 commit comments