def _create_trained_wights_dict(matconv_params_list):
    """
    Creates dictionary with layer param name as a key and trained parameters as a value.
    Note that in matconvnet param.value in refers to trained weights.
    :param matconv_params_list:
    :return:
    """
    trained_weights_dic = {}
    for mcn_lr_params in matconv_params_list:
        trained_weights_dic[mcn_lr_params.name] = mcn_lr_params.value
    return trained_weights_dic