code: def test_print(self):
      self.assertTrue(len(net_printer.to_string(example_job())) > 0)
  
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 1 for calling the TestNetPrinter obj's underlying member method code with example usage: obj.test_print() without return types