code: def _map_modules(func, module):
      for name, child in module.named_children():
          new_child = func(child)
          if new_child is child:
              # It's not nn.Linear, so recurse
              _map_modules(func, child)
          else:
              module._modules[name] = new_child
  
label_desc: Use image node_id 2 for calling a global function with example usage: _map_modules(func, module) without return types