code: def alexnet(num_classes=1000, pretrained="imagenet"):
      r"""AlexNet model architecture from the
      `"One weird trick..." <https://arxiv.org/abs/1404.5997>`_ paper.
      """
      # https://github.com/pytorch/vision/blob/master/torchvision/models/alexnet.py
      model = models.alexnet(pretrained=False)
      if pretrained is not None:
          settings = pretrained_settings["alexnet"][pretrained]
          model = load_pretrained(model, num_classes, settings)
      model = modify_alexnet(model)
      return model
  
imports: from __future__ import print_function, division, absolute_import
  import torchvision.models
  import torch.utils.model_zoo
  import torch.nn.functional
  import types
  import re
label_desc: Use image node_id 4 for calling a global function with example usage: alexnet(num_classes, pretrained) and returns: model