code: def __init__(self, collect_stats=None):
      super().__init__()
      self.collect_stats = (
          c_f.COLLECT_STATS if collect_stats is None else collect_stats
      )
  
imports: import torch
  from .None import common_functions
label_desc: Use image node_id 1 to create a new ModuleWithRecords object from inherited base classes: torch.nn with example: obj = ModuleWithRecords(collect_stats)