import tensorflow as tf


        # for each key I get the collection of summary nodes
        # I set up a filewriter for each summary node
        self.summary_nodes = {sk: tf.get_collection(sk) for sk in self.summary_keys}

        for sk in self.summary_keys:
