alexnet

paddle.vision.models. alexnet ( pretrained=False, **kwargs ) [source]

AlexNet model

Parameters

pretrained (bool) – If True, returns a model pre-trained on ImageNet. Default: False.

Examples

from paddle.vision.models import alexnet

# build model
model = alexnet()

# build model and load imagenet pretrained weight
# model = alexnet(pretrained=True)