def get_parameter_list_from_parameter_dict(pd):
    """Takes a dictionary which contains key value pairs for model parameters and converts it into a list of
    parameters that can be used as an input to an optimizer.

    :param pd: parameter dictionary
    :return: list of parameters
    """
    pl = []
    for key in pd:
        pl.append(pd[key])
    return pl