code: def mark_class_dynamic(cls):
      assert issubclass(cls, torch.nn.Module)
      GenerationTracker.dynamic_classes[cls] = True
  
file_path: pytorch/torch/_dynamo/mutation_guard.py
imports: import functools
  import weakref
  import torch.nn
  from torch.nn import Module
  from .utils import ExactWeakKeyDictionary, is_lazy_module
label_desc: Use image node_id 2 for calling the GenerationTracker obj's underlying member method code with example usage: obj.mark_class_dynamic(cls) without return types