code: def check_const_dictionaries(const_dict, new_const_dict):
      assert list(const_dict) == list(new_const_dict)
      for key, value in const_dict.items():
          new_value = new_const_dict[key]
          assert len(value) == len(new_value)
          for i in range(len(value)):
              assert value[i] == new_value[i]
  
file_path: tvm/tests/python/contrib/test_ethosu/test_merge_constants.py
imports: import pytest
  import tvm
  from tvm.script import tir
  from tvm.relay.backend.contrib.ethosu.tir.passes import MergeConstants
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: check_const_dictionaries(const_dict, new_const_dict) without return types