code: def print_report(self, collected_nodes):
      report = report_format(self.collected_nodes)
      print(report)
  
imports: import time
  from collections import OrderedDict
  from typing import Dict, Sequence
  import functools
  import itertools
  import numpy
  import torch
  import torch.nn
  from .compute_madd import compute_madd
  from .compute_flops import compute_flops
  from .compute_memory import compute_memory
  from .stat_tree import StatTree, StatNode
  from .reporter import report_format
label_desc: Use image node_id 1 for calling a global function with example usage: print_report(collected_nodes) without return types