def init_model_nn(model, params):
    """
    ## Description:

    It initializes the model parameters of the received model

    ## Args

    `model`: (Pytorch Model)
    The model to be initialized

    `params`: (dict)
    Parameters used to initialize the model

    ## Returns:

    The initialized model

    """
    model.load_state_dict(params)
    return model