def init_model_with_data(model_obj, data_dict):
    """instantiate the generated tfp model object with data
    
    Parameters
    ----------
    model_obj : tfd.Distribution
        an un-instantiated model object
    data_dict : dict
        data for the model
    
    Returns
    -------
    tfd.Distribution
        an instantiated model with all the methods necessary for sampling
    """    
    return model_obj(**data_dict)