code: def download_data():
      """Download and extract the training data."""
      import urllib
      from zipfile import ZipFile
  
      # download data
      data_file = "./fowl_data.zip"
      download_url = "https://azuremlexamples.blob.core.windows.net/datasets/fowl_data.zip"
      urllib.request.urlretrieve(download_url, filename=data_file)
  
      # extract files
      with ZipFile(data_file, "r") as zip:
          print("extracting files...")
          zip.extractall()
          print("finished extracting")
          data_dir = zip.namelist()[0]
  
      # delete zip file
      os.remove(data_file)
      return data_dir
  
file_path: MachineLearningNotebooks/how-to-use-azureml/ml-frameworks/pytorch/train-hyperparameter-tune-deploy-with-pytorch/pytorch_train.py
imports: from __future__ import print_function, division
  import torch
  import torch.nn
  import torch.optim
  from torch.optim import lr_scheduler
  from torchvision import datasets, models, transforms
  import numpy
  import time
  import os
  import copy
  import argparse
  from azureml.core.run import Run
label_desc: Use image node_id 4 for calling a global function with example usage: download_data() and returns: data_dir