class_docstr: Utility class responsible from creating a tensor tracer report.
docstr: Writes the Op-list section of the report.
code: def _write_op_list_section(self, graph_order):
      """Writes the Op-list section of the report."""
  
      self._write_report(
          "%s %s\n" % (_MARKER_SECTION_BEGIN, _SECTION_NAME_OP_LIST)
      )
      self._write_report(
          "%s %d\n" % (_FIELD_NAME_NUM_OPS, len(graph_order.operations))
      )
      for i in range(0, len(graph_order.operations)):
          op = graph_order.operations[i]
          line = '%d "%s" %s' % (i, op.name, op.type)
          for out_tensor in op.outputs:
              if out_tensor.name not in graph_order.tensor_to_idx:
                  raise ValueError(
                      "out_tensor is not in tensor_to_idx. out_tensor={}, "
                      "tensor_to_idx={}".format(
                          out_tensor.name, graph_order.tensor_to_idx
                      )
                  )
              line += " %d" % graph_order.tensor_to_idx[out_tensor.name]
          line += "\n"
          self._write_report(line)
      self._write_report(
          "%s %s\n" % (_MARKER_SECTION_END, _SECTION_NAME_OP_LIST)
      )
  
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 13 for calling the TTReportHandle obj's underlying member method code with example usage: obj._write_op_list_section(graph_order) without return types