def _setup_graph(self): self._init_mask_op = tf.initialize_variables(tf.get_collection('masks')) self._init_thre_op = tf.initialize_variables(tf.get_collection('thresholds'))