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","."]
docstr: Check and throw warnings for records with old format workload key.
  
  Parameters
  ----------
  inputs: List[MeasureInput]
      The measure inputs to be checked.
  
  Notes
  -----
  This checker could be deprecated in the future.
docstr_tok: ["Check","and","throw","warnings","for","records","with","old","format","workload","key",".","Parameters","--","--","--","--","--","inputs",":","List","[","MeasureInput","]","The","measure","inputs","to","be","checked",".","Notes","--","--","-","This","checker","could","be","deprecated","in","the","future","."]
code: def check_workload_key(self, inputs):
      """Check and throw warnings for records with old format workload key.
  
      Parameters
      ----------
      inputs: List[MeasureInput]
          The measure inputs to be checked.
  
      Notes
      -----
      This checker could be deprecated in the future.
      """
      for inp in inputs:
          _, args = decode_workload_key(inp.task.workload_key)
          if args is None:
              continue
          if not args:
              msg = (
                  "MeasureInput with old format workload key %s should be updated "
                  "using the script from https://github.com/apache/tvm/pull/7317."
                  % inp.task.workload_key
              )
              if msg not in self.messages:
                  self.messages.add(msg)
                  logger.warning(msg)
  
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 2 for calling the RecordReader obj's underlying member method code with example usage: obj.check_workload_key(inputs) without return types