

def add_trainable_vars_summary(variables, name_prefix='', name_suffix='', collection_key=None):
    ' add_trainable_vars_summary.\n\n    Add histogram summary for given variables weights.\n\n    Arguments:\n        variables: A list of `Variable`. The variables to summarize.\n        name_prefix: `str`. A prefix to add to summary scope.\n        name_suffix: `str`. A suffix to add to summary scope.\n        collection_key: `str`. A collection to store the summaries.\n\n    Returns:\n        The list of created weights summaries.\n\n    '
    summ = []
    for var in variables:
        summ_name = format_scope_name(var.op.name, summ, name_suffix)
        summ_exists = summary_exists(summ_name)
        if (summ_exists is not None):
            tf.add_to_collection(collection_key, summ_exists)
            summ.append(summ_exists)
        else:
            summ.append(get_summary('histogram', summ_name, var, collection_key))
    return summ

dataset/ETHPy150Open tflearn/tflearn/tflearn/summaries.py add_trainable_vars_summary/VarMisuse@46/221 `name_prefix`->`summ`