Shortcuts

shufflenet_v2_x2_0

torchvision.models.shufflenet_v2_x2_0(*, weights: Optional[ShuffleNet_V2_X2_0_Weights] = None, progress: bool = True, **kwargs: Any) ShuffleNetV2[source]

Constructs a ShuffleNetV2 architecture with 2.0x output channels, as described in ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design.

Parameters:
  • weights (ShuffleNet_V2_X2_0_Weights, optional) – The pretrained weights to use. See ShuffleNet_V2_X2_0_Weights below for more details, and possible values. By default, no pre-trained weights are used.

  • progress (bool, optional) – If True, displays a progress bar of the download to stderr. Default is True.

  • **kwargs – parameters passed to the torchvision.models.shufflenetv2.ShuffleNetV2 base class. Please refer to the source code for more details about this class.

class torchvision.models.ShuffleNet_V2_X2_0_Weights(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources