code: def run_single_mode(
      self, mode, target_local_step, target_global_step
  ):
      restarter = Restarter(mode, self.out_dir, target_local_step)
      with restarter.training_loop():
          self.create_checkpoint(target_global_step)
  
file_path: tensor2tensor/tensor2tensor/rl/restarter_test.py
imports: import os
  from tensor2tensor.rl.restarter import Restarter
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the RestarterTest obj's underlying member method code with example usage: obj.run_single_mode(mode, target_local_step, target_global_step) without return types