class_docstr: A Static Memory statistic collector.
class_docstr_tok: ["A","Static","Memory","statistic","collector","."]
code: def recover_module(self):
      for modInfo in self.module_info_list:
          modInfo.parent_module.__setattr__(
              modInfo.module_name, modInfo.module
          )
  
file_path: colossalai/colossalai/zero/gemini/memory_tracer/static_memstats_collector.py
imports: from typing import Optional
  import torch
  import torch.nn
  from torch.fx import symbolic_trace
  from colossalai.fx.passes.meta_info_prop import MetaInfoProp
  from colossalai.fx.profiler import calculate_fwd_out, calculate_fwd_tmp, is_compatible_with_meta
  from colossalai.zero.gemini.chunk import ChunkManager
  from .chunk_memstats_collector import ChunkMemStatsCollector
label_desc: Use image node_id 4 for calling the StaticMemStatsCollector obj's underlying member method code with example usage: obj.recover_module() without return types