code: def get_module_training_state(module):
      return {mod: mod.training for mod in module.modules()}
  
file_path: advertorch/advertorch/context.py
imports: from contextlib import contextmanager
label_desc: Use image node_id 2 for calling a global function with example usage: get_module_training_state(module) and returns: unknown