@@ -680,12 +680,23 @@ def resnet152(*, weights: Optional[ResNet152_Weights] = None, progress: bool = T
680680def resnext50_32x4d (
681681 * , weights : Optional [ResNeXt50_32X4D_Weights ] = None , progress : bool = True , ** kwargs : Any
682682) -> 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>`_.
685685
686686 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:
689700 """
690701 weights = ResNeXt50_32X4D_Weights .verify (weights )
691702
@@ -698,12 +709,23 @@ def resnext50_32x4d(
698709def resnext101_32x8d (
699710 * , weights : Optional [ResNeXt101_32X8D_Weights ] = None , progress : bool = True , ** kwargs : Any
700711) -> 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>`_.
703714
704715 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:
707729 """
708730 weights = ResNeXt101_32X8D_Weights .verify (weights )
709731
0 commit comments