code: def summarize_all(
      train_vars, grads, activations, summary_collection="tflearn_summ"
  ):
      summarize_variables(train_vars, summary_collection)
      summarize_gradients(grads, summary_collection)
      return summarize_activations(activations, summary_collection)
  
file_path: tflearn/tflearn/helpers/summarizer.py
imports: from __future__ import division, print_function, absolute_import
  import tensorflow.compat.v1
  from ..None import summaries
label_desc: Use image node_id 1 for calling a global function with example usage: summarize_all(train_vars, grads, activations, summary_collection) and returns: summarize_activations