Shortcuts

alexnet

torchvision.models.alexnet(pretrained: bool = False, progress: bool = True, **kwargs: Any)torchvision.models.alexnet.AlexNet[source]

AlexNet model architecture from the “One weird trick…” paper. The required minimum input size of the model is 63x63.

Parameters
  • pretrained (bool) – If True, returns a model pre-trained on ImageNet

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

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