code: def add_local_mod(self, name, mod):
      assert isinstance(mod, ModuleType)
  
      self.add_global_var(name, mod)
  
file_path: pytorch/torch/_dynamo/replay_record.py
imports: import dataclasses
  from dataclasses import field
  from types import CodeType, ModuleType
  from typing import Any, Dict
label_desc: Use image node_id 3 for calling the ExecutionRecorder obj's underlying member method code with example usage: obj.add_local_mod(name, mod) without return types