'Create summaries with `verbose` level'

def create_summaries(self, verbose=2):

    summ_collection = (self.name + '_training_summaries')
    if (verbose in [3]):
        activations = tf.get_collection(tf.GraphKeys.ACTIVATIONS)
        summarize_activations(activations, summ_collection)
    if (verbose in [2, 3]):
        summarize_variables(self.train_vars, summ_collection)
    if (verbose in [1, 2, 3]):
        summarize_gradients(self.grad, summ_collection)
    self.summ_op = merge_summary(tf.get_collection(summ_collection))
