def METHOD_NAME(model: tf.compat.v1.Session, meta_path: str):
    """
    Utility function to save a graph
    :param model: tf.compat.v1.Session
    :param meta_path: path to meta file
    :return:
    """
    with model.graph.as_default():
        saver = tf.compat.v1.train.Saver()
    saver.save(sess=model, save_path=meta_path)