class_docstr: Fake summary writer.
class_docstr_tok: ["Fake","summary","writer","."]
code: def add_run_metadata(self, run_metadata, tag, global_step=None):
      if (global_step is not None) and (global_step < 0):
          raise ValueError("Invalid global_step %s." % global_step)
      self._added_run_metadata[tag] = run_metadata
  
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 10 for calling the FakeSummaryWriter obj's underlying member method code with example usage: obj.add_run_metadata(run_metadata, tag, global_step) without return types