class_docstr: Fake summary writer.
class_docstr_tok: ["Fake","summary","writer","."]
docstr: Add graph.
docstr_tok: ["Add","graph","."]
code: def add_graph(self, graph, global_step=None, graph_def=None):
      """Add graph."""
      if (global_step is not None) and (global_step < 0):
          raise ValueError("Invalid global_step %s." % global_step)
      if graph_def is not None:
          raise ValueError("Unexpected graph_def %s." % graph_def)
      self._added_graphs.append(graph)
  
file_path: tensorflow/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 7 for calling the FakeSummaryWriter obj's underlying member method code with example usage: obj.add_graph(graph, global_step, graph_def) without return types