code: def init():
      global model
      # AZUREML_MODEL_DIR is an environment variable created during deployment.
      # It is the path to the model folder (./azureml-models/$MODEL_NAME/$VERSION)
      # For multiple models, it points to the folder containing all deployed models (./azureml-models)
      model_path = os.path.join(
          os.getenv("AZUREML_MODEL_DIR"), "model.pt"
      )
      model = torch.load(
          model_path, map_location=lambda storage, loc: storage
      )
      model.eval()
  
imports: import os
  import torch
  import torch.nn
  from torchvision import transforms
  import json
  from azureml.core.model import Model
label_desc: Use image node_id 1 for calling a global function with example usage: init() without return types