code: def load_records(filename):
      """
      Load measurement records from a file.
  
      Parameters
      ----------
      filename : str
          File name to load log from.
  
      Returns
      -------
      logs : List[auto_scheduler.measure.MeasureInput, auto_scheduler.measure.MeasureResult]
  
      Notes
      -----
      Some unimportant and expensive fields in the returned MeasureInput are not deserialized
      for faster read speed (e.g., input.task.compute_dag, input.state.stages).
      If you want to use them, you can call the :code:`recover_measure_input` below
      to rebuild these fields.
      """
      return zip(*RecordReader(filename).read_lines())
  
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 3 for calling a global function with example usage: load_records(filename) and returns: zip