code: def _setattr(model, name, module):
      name_list = name.split(".")
      for name in name_list[:-1]:
          model = getattr(model, name)
      setattr(model, name_list[-1], module)
  
imports: import types
  import logging
  import torch
  from .None import default_layers
label_desc: Use image node_id 1 for calling a global function with example usage: _setattr(model, name, module) without return types