def alexnet(pretrained=False, **kwargs):
model = AlexNet(**kwargs)<EOL>if pretrained:<EOL><INDENT>model.load_state_dict(model_zoo.load_url(model_urls['<STR_LIT>']))<EOL><DEDENT>return model<EOL>
r"""AlexNet model architecture from the
    `"One weird trick..." <https://arxiv.org/abs/1404.5997>`_ paper.

    Args:
        pretrained (bool): If True, returns a model pre-trained on ImageNet