

def summary_exists(tag):
    ' summary_exists.\n\n    Check if a summary exists.\n\n    Arguments:\n        tag: `str`. The summary name.\n\n    Returns:\n        A `bool`. Whether the summary exists or not.\n\n    '
    return next((item['tensor'] for item in tf.get_collection('summary_tags') if (item['tag'] == tag)), None)

dataset/ETHPy150Open tflearn/tflearn/tflearn/summaries.py summary_exists/original