code: def load_checkpoint(ckpt_name):
      print("==> Resuming from checkpoint..")
      path = os.path.join("checkpoint", ckpt_name)
      assert os.path.isdir(
          "checkpoint"
      ), "Error: no checkpoint directory found!"
      assert os.path.exists(
          path
      ), "Error: checkpoint {} not found".format(ckpt_name)
      return torch.load(ckpt_name)
  
file_path: AdaBound/demos/cifar10/main.py
imports: from __future__ import print_function
  import torch.optim
  import torch.backends.cudnn
  import torchvision
  import torchvision.transforms
  import os
  import argparse
  from models import *
  from adabound import AdaBound
label_desc: Use image node_id 4 for calling a global function with example usage: load_checkpoint(ckpt_name) and returns: torch