code: def print_with_indexes(mod):
      mod = tvm.relay.transform.CapturePostDfsIndexInSpans()(mod)
      print(mod)
  
file_path: tvm/tests/python/relay/collage/test_sub_graph.py
imports: import tvm
  import logging
  import tvm.testing
label_desc: Use image node_id 1 for calling a global function with example usage: print_with_indexes(mod) without return types