code: def load_ckpt(ckpt_path):
      print(f"=> loading checkpoint {ckpt_path}...")
      try:
          checkpoint = torch.load(ckpt_path)
      except:
          print(f"=> fail loading {ckpt_path}...")
          exit()
      return checkpoint
  
imports: import math
  import os
  import random
  import sys
  import time
  import warnings
  import numpy
  import numpy
  import shutil
  import logging
  import torch
  import torchvision.transforms
  import torchvision.datasets
  import torch.nn
label_desc: Use image node_id 15 for calling a global function with example usage: load_ckpt(ckpt_path) and returns: checkpoint