code: def _equal_record(
      a: ms.database.TuningRecord, b: ms.database.TuningRecord
  ):
      assert str(a.trace) == str(b.trace)
      assert str(a.run_secs) == str(b.run_secs)
      # AWAIT(@zxybazh): change to export after fixing "(bool)0"
      assert str(a.target) == str(b.target)
      assert tvm.ir.structural_equal(a.workload.mod, b.workload.mod)
      for arg0, arg1 in zip(a.args_info, b.args_info):
          assert str(arg0.as_json()) == str(arg1.as_json())
  
imports: import os.path
  import tempfile
  from typing import Callable, List, Optional
  import pytest
  import tvm
  import tvm.testing
  from tvm import meta_schedule
  from tvm import relay, tir
  from tvm.ir.module import IRModule
  from tvm.meta_schedule.database import TuningRecord, Workload
  from tvm.script import tir
  from tvm.target import Target
  from tvm.tir import Schedule
label_desc: Use image node_id 4 for calling a global function with example usage: _equal_record(a, b) without return types