tensorflow new/old version function

来源:互联网 发布:excel怎么去重复数据 编辑:程序博客网 时间:2024/05/21 04:44
  • 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
  • initialize_all_variables should be named to global_variables_initializer