class_docstr: Fake summary writer.
class_docstr_tok: ["Fake","summary","writer","."]
docstr: Add metagraph.
docstr_tok: ["Add","metagraph","."]
code: def add_meta_graph(self, meta_graph_def, global_step=None):
      """Add metagraph."""
      if (global_step is not None) and (global_step < 0):
          raise ValueError("Invalid global_step %s." % global_step)
      self._added_meta_graphs.append(meta_graph_def)
  
file_path: tensorflow-upstream/tensorflow/python/summary/writer/fake_summary_writer.py
imports: from tensorflow.core.framework import summary_pb2
  from tensorflow.python.framework import test_util
  from tensorflow.python.summary.writer import writer
  from tensorflow.python.summary.writer import writer_cache
label_desc: Use image node_id 8 for calling the FakeSummaryWriter obj's underlying member method code with example usage: obj.add_meta_graph(meta_graph_def, global_step) without return types