def summarize(value, type, name, summary_collection='tflearn_summ'):
 if tf012:
  name = name.replace(':', '_')
 summaries.get_summary(type, name, value, summary_collection)
 return merge_summary(tf.get_collection(summary_collection))

def summarize ( value , type , name , summary_collection = 'tflearn_summ' ) : if tf012 : name = name . replace ( ':' , '_' ) summaries . get_summary ( type , name , value , summary_collection ) return merge_summary ( tf . get_collection ( summary_collection ) )
run the given summary script on every file in the given directory .