model_alexnet: AlexNet Model Architecture

Description Usage Arguments See Also

View source: R/models-alexnet.R

Description

AlexNet model architecture from the One weird trick... paper.

Usage

1
model_alexnet(pretrained = FALSE, progress = TRUE, ...)

Arguments

pretrained

(bool): If TRUE, returns a model pre-trained on ImageNet.

progress

(bool): If TRUE, displays a progress bar of the download to stderr.

...

other parameters passed to the model intializer. currently only num_classes is used.

See Also

Other models: model_resnet18()


torchvision documentation built on Aug. 17, 2021, 5:06 p.m.