class_docstr: Table View of profiling data.
docstr: Constructor.
  
  Args:
    profile_datum_list: List of `ProfileDatum` objects.
    time_unit: must be in cli_shared.TIME_UNITS.
docstr_tok: ["Constructor",".","Args",":","profile_datum_list",":","List","of","`","ProfileDatum","`","objects",".","time_unit",":","must","be","in","cli_shared.TIME_UNITS","."]
code: def __init__(
      self, profile_datum_list, time_unit=cli_shared.TIME_UNIT_US
  ):
      """Constructor.
  
      Args:
        profile_datum_list: List of `ProfileDatum` objects.
        time_unit: must be in cli_shared.TIME_UNITS.
      """
      self._profile_datum_list = profile_datum_list
      self.formatted_start_time = [
          datum.start_time for datum in profile_datum_list
      ]
      self.formatted_op_time = [
          cli_shared.time_to_readable_str(
              datum.op_time, force_time_unit=time_unit
          )
          for datum in profile_datum_list
      ]
      self.formatted_exec_time = [
          cli_shared.time_to_readable_str(
              datum.node_exec_stats.all_end_rel_micros,
              force_time_unit=time_unit,
          )
          for datum in profile_datum_list
      ]
  
      self._column_names = [
          "Node",
          "Op Type",
          "Start Time (us)",
          "Op Time (%s)" % time_unit,
          "Exec Time (%s)" % time_unit,
          "Filename:Lineno(function)",
      ]
      self._column_sort_ids = [
          SORT_OPS_BY_OP_NAME,
          SORT_OPS_BY_OP_TYPE,
          SORT_OPS_BY_START_TIME,
          SORT_OPS_BY_OP_TIME,
          SORT_OPS_BY_EXEC_TIME,
          SORT_OPS_BY_LINE,
      ]
  
imports: import argparse
  import os
  import re
  import numpy
  from tensorflow.python.debug.cli import cli_shared
  from tensorflow.python.debug.cli import command_parser
  from tensorflow.python.debug.cli import debugger_cli_common
  from tensorflow.python.debug.cli import ui_factory
  from tensorflow.python.debug.lib import profiling
  from tensorflow.python.debug.lib import source_utils
label_desc: Use image node_id 1 to create a new ProfileDataTableView object from inherited base classes: object with example: obj = ProfileDataTableView(profile_datum_list, time_unit)