code: def prepare_alexnet_v0_model():
      local_base_path = os.path.join(
          os.path.dirname(os.path.abspath(__file__)),
          *"../../../../PretrainedModels".split("/"),
      )
      local_base_path = os.path.normpath(local_base_path)
  
      # v0 model:
      model_file = os.path.join(local_base_path, "AlexNet.model")
      if not os.path.isfile(model_file):
          external_model_path = os.path.join(
              os.environ[envvar],
              "PreTrainedModels",
              "AlexNet",
              "v0",
              "AlexNet.model",
          )
          copyfile(external_model_path, model_file)
  
      # v1 model:
      model_file = os.path.join(
          local_base_path, "AlexNet_ImageNet_Caffe.model"
      )
      if not os.path.isfile(model_file):
          external_model_path = os.path.join(
              os.environ[envvar],
              "PreTrainedModels",
              "AlexNet",
              "v1",
              "AlexNet_ImageNet_Caffe.model",
          )
          copyfile(external_model_path, model_file)
  
      return local_base_path
  
file_path: CNTK/Tests/EndToEndTests/CNTKv2Python/Examples/prepare_test_data.py
imports: import os
  import tarfile
  import zipfile
  from shutil import copyfile
label_desc: Use image node_id 12 for calling a global function with example usage: prepare_alexnet_v0_model() and returns: local_base_path