class_docstr: Reader of the json log file.
  
  Parameters
  ----------
  filename : str
      File name for this reader to load log from.
class_docstr_tok: ["Reader","of","the","json","log","file",".","Parameters","--","--","--","--","--","filename",":","str","File","name","for","this","reader","to","load","log","from","."]
code: def __init__(self, filename):
      if not os.path.exists(filename):
          logger.warning("%s does not exist!", filename)
      # a set to prevent print duplicated message
      self.messages = set()
      self.__init_handle_by_constructor__(
          _ffi_api.RecordReader, filename
      )
  
imports: import argparse
  import logging
  import os
  import itertools
  import numpy
  import tvm._ffi
  from tvm.runtime import Object
  from .measure import MeasureErrorNo, MeasureCallback
  from .utils import calc_workload_dis_factor, decode_workload_key
  from .None import _ffi_api
label_desc: Use image node_id 1 to create a new RecordReader object from inherited base classes: Object with example: obj = RecordReader(filename)