message: Add memory usage report to cost analyzer tool; run all default optimizations.
diff: @@ -54,14 +54,16 @@ def main(_):
  metagraph = saver.export_meta_graph(
  graph_def=graph.as_graph_def(), graph=graph)
  - if FLAGS.rewriter_config is not None:
  rewriter_config = rewriter_config_pb2.RewriterConfig()
  + if FLAGS.rewriter_config is not None:
  text_format.Merge(FLAGS.rewriter_config, rewriter_config)
  optimized_graph = tf_optimizer.OptimizeGraph(rewriter_config, metagraph)
  metagraph.graph_def.CopyFrom(optimized_graph)
  report = cost_analyzer.GenerateCostReport(metagraph, FLAGS.per_node_report)
  print(report)
  + report = cost_analyzer.GenerateMemoryReport(metagraph)
  + print(report)
  if __name__ == "__main__":
  