@@ -362,11 +362,23 @@ def mobilenet_v3_large(
362
362
) -> MobileNetV3 :
363
363
"""
364
364
Constructs a large MobileNetV3 architecture from
365
- `" Searching for MobileNetV3" <https://arxiv.org/abs/1905.02244>`_ .
365
+ `Searching for MobileNetV3 <https://arxiv.org/abs/1905.02244>`__ .
366
366
367
367
Args:
368
- weights (MobileNet_V3_Large_Weights, optional): The pretrained weights for the model
369
- progress (bool): If True, displays a progress bar of the download to stderr
368
+ weights (:class:`~torchvision.models.MobileNet_V3_Large_Weights`, optional): The
369
+ pretrained weights to use. See
370
+ :class:`~torchvision.models.MobileNet_V3_Large_Weights` below for
371
+ more details, and possible values. By default, no pre-trained
372
+ weights are used.
373
+ progress (bool, optional): If True, displays a progress bar of the
374
+ download to stderr. Default is True.
375
+ **kwargs: parameters passed to the ``torchvision.models.resnet.MobileNetV3``
376
+ base class. Please refer to the `source code
377
+ <https://github.com/pytorch/vision/blob/main/torchvision/models/mobilenetv3.py>`_
378
+ for more details about this class.
379
+
380
+ .. autoclass:: torchvision.models.MobileNet_V3_Large_Weights
381
+ :members:
370
382
"""
371
383
weights = MobileNet_V3_Large_Weights .verify (weights )
372
384
@@ -380,11 +392,23 @@ def mobilenet_v3_small(
380
392
) -> MobileNetV3 :
381
393
"""
382
394
Constructs a small MobileNetV3 architecture from
383
- `" Searching for MobileNetV3" <https://arxiv.org/abs/1905.02244>`_ .
395
+ `Searching for MobileNetV3 <https://arxiv.org/abs/1905.02244>`__ .
384
396
385
397
Args:
386
- weights (MobileNet_V3_Small_Weights, optional): The pretrained weights for the model
387
- progress (bool): If True, displays a progress bar of the download to stderr
398
+ weights (:class:`~torchvision.models.MobileNet_V3_Small_Weights`, optional): The
399
+ pretrained weights to use. See
400
+ :class:`~torchvision.models.MobileNet_V3_Small_Weights` below for
401
+ more details, and possible values. By default, no pre-trained
402
+ weights are used.
403
+ progress (bool, optional): If True, displays a progress bar of the
404
+ download to stderr. Default is True.
405
+ **kwargs: parameters passed to the ``torchvision.models.resnet.MobileNetV3``
406
+ base class. Please refer to the `source code
407
+ <https://github.com/pytorch/vision/blob/main/torchvision/models/mobilenetv3.py>`_
408
+ for more details about this class.
409
+
410
+ .. autoclass:: torchvision.models.MobileNet_V3_Small_Weights
411
+ :members:
388
412
"""
389
413
weights = MobileNet_V3_Small_Weights .verify (weights )
390
414
0 commit comments