@@ -680,12 +680,23 @@ def resnet152(*, weights: Optional[ResNet152_Weights] = None, progress: bool = T
680
680
def resnext50_32x4d (
681
681
* , weights : Optional [ResNeXt50_32X4D_Weights ] = None , progress : bool = True , ** kwargs : Any
682
682
) -> ResNet :
683
- r """ResNeXt-50 32x4d model from
684
- `" Aggregated Residual Transformation for Deep Neural Networks" <https://arxiv.org/pdf /1611.05431.pdf >`_.
683
+ """ResNeXt-50 32x4d model from
684
+ `Aggregated Residual Transformation for Deep Neural Networks <https://arxiv.org/abs /1611.05431>`_.
685
685
686
686
Args:
687
- weights (ResNeXt50_32X4D_Weights, optional): The pretrained weights for the model
688
- progress (bool): If True, displays a progress bar of the download to stderr
687
+ weights (:class:`~torchvision.models.ResNeXt50_32X4D_Weights`, optional): The
688
+ pretrained weights to use. See
689
+ :class:`~torchvision.models.ResNext50_32X4D_Weights` below for
690
+ more details, and possible values. By default, no pre-trained
691
+ weights are used.
692
+ progress (bool, optional): If True, displays a progress bar of the
693
+ download to stderr. Default is True.
694
+ **kwargs: parameters passed to the ``torchvision.models.resnet.ResNet``
695
+ base class. Please refer to the `source code
696
+ <https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py>`_
697
+ for more details about this class.
698
+ .. autoclass:: torchvision.models.ResNeXt50_32X4D_Weights
699
+ :members:
689
700
"""
690
701
weights = ResNeXt50_32X4D_Weights .verify (weights )
691
702
@@ -698,12 +709,23 @@ def resnext50_32x4d(
698
709
def resnext101_32x8d (
699
710
* , weights : Optional [ResNeXt101_32X8D_Weights ] = None , progress : bool = True , ** kwargs : Any
700
711
) -> ResNet :
701
- r """ResNeXt-101 32x8d model from
702
- `" Aggregated Residual Transformation for Deep Neural Networks" <https://arxiv.org/pdf /1611.05431.pdf >`_.
712
+ """ResNeXt-101 32x8d model from
713
+ `Aggregated Residual Transformation for Deep Neural Networks <https://arxiv.org/abs /1611.05431>`_.
703
714
704
715
Args:
705
- weights (ResNeXt101_32X8D_Weights, optional): The pretrained weights for the model
706
- progress (bool): If True, displays a progress bar of the download to stderr
716
+ weights (:class:`~torchvision.models.ResNeXt101_32X8D_Weights`, optional): The
717
+ pretrained weights to use. See
718
+ :class:`~torchvision.models.ResNeXt101_32X8D_Weights` below for
719
+ more details, and possible values. By default, no pre-trained
720
+ weights are used.
721
+ progress (bool, optional): If True, displays a progress bar of the
722
+ download to stderr. Default is True.
723
+ **kwargs: parameters passed to the ``torchvision.models.resnet.ResNet``
724
+ base class. Please refer to the `source code
725
+ <https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py>`_
726
+ for more details about this class.
727
+ .. autoclass:: torchvision.models.ResNeXt101_32X8D_Weights
728
+ :members:
707
729
"""
708
730
weights = ResNeXt101_32X8D_Weights .verify (weights )
709
731
0 commit comments