class_docstr: Utility class responsible from creating a tensor tracer report.
docstr: Writes the given report proto under trace_dir.
code: def write_report_proto(
      self, report_path, report_proto, tt_parameters
  ):
      """Writes the given report proto under trace_dir."""
      gfile.MakeDirs(tt_parameters.trace_dir)
      with gfile.GFile(report_path, "wb") as f:
          f.write(report_proto.SerializeToString())
  
imports: import collections
  import hashlib
  import os
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.tpu import tensor_tracer_pb2
label_desc: Use image node_id 7 for calling the TTReportHandle obj's underlying member method code with example usage: obj.write_report_proto(report_path, report_proto, tt_parameters) without return types