code: def get_path_to_checkpoint(path_to_job, epoch, task=""):
      """
      Get the full path to a checkpoint file.
      Args:
          path_to_job (string): the path to the folder of the current job.
          epoch (int): the number of epoch for the checkpoint.
      """
      if task != "":
          name = "{}_checkpoint_epoch_{:05d}.pyth".format(task, epoch)
      else:
          name = "checkpoint_epoch_{:05d}.pyth".format(epoch)
      return os.path.join(get_checkpoint_dir(path_to_job), name)
  
imports: import copy
  import math
  import numpy
  import os
  import pickle
  from collections import OrderedDict
  import torch
  import slowfast.utils.distributed
  import slowfast.utils.logging
  from slowfast.utils.c2_model_loading import get_name_convert_func
  from slowfast.utils.env import checkpoint_pathmgr
label_desc: Use image node_id 3 for calling a global function with example usage: get_path_to_checkpoint(path_to_job, epoch, task) and returns: os