code: def _assert_structural_equal(a, b):
      """Check structural equality of two Relay expressions."""
      reason = (
          "Actual and expected relay functions are not equal. "
          "InlineNonComputeIntensiveSubgraphs is not correctly "
          "transforming the input graph."
      )
      assert tvm.ir.structural_equal(a, b, map_free_vars=True), reason
  
file_path: tvm/tests/python/contrib/test_ethosn/test_inline_partitions.py
imports: import tvm
  from tvm import relay
  from tvm.testing import requires_ethosn
  from tvm.relay.op.contrib.ethosn import InlineNonComputeIntensivePartitions
  from .None import infrastructure
label_desc: Use image node_id 1 for calling a global function with example usage: _assert_structural_equal(a, b) without return types