code: def param_groups(model):
      layers = [*model.children()]
  
      _param_groups = [list(group.parameters()) for group in layers]
  
      check_all_model_params_in_groups2(model, _param_groups)
      return _param_groups
  
file_path: icevision/icevision/models/mmseg/utils.py
imports: from icevision.imports import *
  from icevision.utils import *
  from icevision.models.backbone_config import BackboneConfig
  from icevision.core.exceptions import PreTrainedVariantNotFound
  from icevision.models.mmseg.download_configs import download_mmseg_configs
  from mmseg.models.segmentors import *
  from mmcv import Config
label_desc: Use image node_id 1 for calling a global function with example usage: param_groups(model) and returns: _param_groups