def get_model_name(model,dataset):
    """Get TensorFlow model name.

    Parameters
    ----------
    model: TensorFlow model

    Returns
    -------
    model name

    """
    return model.name[:-(1+len(dataset[:-4]))]