code: def example_job():
      with Job() as job:
          with job.init_group:
              example_loop()
          example_task()
      return job
  
file_path: pytorch/caffe2/python/net_printer_test.py
imports: from caffe2.python import net_printer
  from caffe2.python.checkpoint import Job
  from caffe2.python.net_builder import ops
  from caffe2.python.task import Task, final_output, WorkspaceType
  import unittest
label_desc: Use image node_id 3 for calling a global function with example usage: example_job() and returns: job