class_docstr: A writer for TF debugging events. Used by tfdbg v2.
class_docstr_tok: ["A","writer","for","TF","debugging","events",".","Used","by","tfdbg","v2","."]
docstr: Write a SourceFile proto with the writer.
  
  Args:
    source_file: A SourceFile proto, describing the content of a source file
      involved in the execution of the debugged TensorFlow program.
docstr_tok: ["Write","a","SourceFile","proto","with","the","writer",".","Args",":","source_file",":","A","SourceFile","proto",",","describing","the","content","of","a","source","file","involved","in","the","execution","of","the","debugged","TensorFlow","program","."]
code: def WriteSourceFile(self, source_file):
      """Write a SourceFile proto with the writer.
  
      Args:
        source_file: A SourceFile proto, describing the content of a source file
          involved in the execution of the debugged TensorFlow program.
      """
      # TODO(cais): Explore performance optimization that avoids memcpy.
      debug_event = debug_event_pb2.DebugEvent(source_file=source_file)
      self._EnsureTimestampAdded(debug_event)
      _pywrap_debug_events_writer.WriteSourceFile(
          self._dump_root, debug_event
      )
  
file_path: tensorflow-upstream/tensorflow/python/debug/lib/debug_events_writer.py
imports: import time
  from tensorflow.core.protobuf import debug_event_pb2
  from tensorflow.python.client import _pywrap_debug_events_writer
label_desc: Use image node_id 2 for calling the DebugEventsWriter obj's underlying member method code with example usage: obj.WriteSourceFile(source_file) without return types