import tensorflow as tf

            for var in self._train_summaries:      #添加tf.trainable_variables()，显示张量分布监控数据随着迭代轮数的变化趋势
                self._add_train_summary(var)

        self._summary_op = tf.summary.merge_all()   #  tf.summary.merge_all()函数来整理所有的日志生成操作
        if not testing:
            self._summary_op_val = tf.summary.merge(val_summaries)
