def METHOD_NAME(self, model):
    _layer2reper_config = {}
    for name, layer in model.named_sublayers():
        support_type_layers = list(self._config['type_config'].keys())
        refine_layer_full_names = list(self._config['layer_config'].keys())
        cur_layer_reper = None
        # Firstly, parser type layer in model.
        for layer_type in support_type_layers:
            if isinstance(layer, layer_type):
                cur_layer_reper = self._config['type_config'][layer_type]
        # Secondly, parser layer full name in model.
        if name in refine_layer_full_names:
            cur_layer_reper = self._config['layer_config'][name]
        # Conv2d
        if cur_layer_reper and isinstance(layer, nn.Conv2D):
            if "Conv2D" in _layer2reper_config:
                _layer2reper_config["Conv2D"].update({
                    name: cur_layer_reper
                })
            else:
                _layer2reper_config["Conv2D"] = {name: cur_layer_reper}
        # Linear
        elif cur_layer_reper and isinstance(layer, nn.Linear):
            if "Linear" in _layer2reper_config:
                _layer2reper_config["Linear"].update({
                    name: cur_layer_reper
                })
            else:
                _layer2reper_config["Linear"] = {name: cur_layer_reper}
        elif cur_layer_reper:
            _logger.info(
                "{} not support reparameterization, please choose one of {}".
                format(name, SUPPORT_REP_TYPE_LAYERS))
    return _layer2reper_config