code: def gen_checkpoint_path(self, is_checkpoint, epoch):
      if is_checkpoint:
          filename = "model_checkpoint_epoch{}.pkl".format(epoch)
      else:
          filename = "model_final.pkl"
      return self.opts["output"]["checkpoint_folder"] + filename
  
imports: from abc import abstractmethod
  from caffe2.python import workspace
  from caffe2.python import timeout_guard
  from caffe2.python import data_parallel_model
  from .None import checkpoint
  from .None import ModuleRegister
  from .None import module_map
  import os
  import inspect
  import time
  import logging
label_desc: Use image node_id 17 for calling the AnyExpTrainer obj's underlying member method code with example usage: obj.gen_checkpoint_path(is_checkpoint, epoch) and returns: unknown