In the latest TensorFlow release, summary functions have been consolidated under the tf.summary namespace. The following are some upgrade suggestions that you need to apply manually:
tf.audio_summary should be renamed to tf.summary.audio
tf.contrib.deprecated.histogram_summary should be renamed to tf.summary.histogram
tf.contrib.deprecated.scalar_summary should be renamed to tf.summary.scalar
tf.histogram_summary should be renamed to tf.summary.histogram
tf.image_summary should be renamed to tf.summary.image
tf.merge_all_summaries should be renamed to tf.summary.merge_all
tf.merge_summary should be renamed to tf.summary.merge
tf.scalar_summary should be renamed to tf.summary.scalar
tf.train.SummaryWriter should be renamed to tf.summary.FileWriter