code: def test_ethosu_identity_matcher():
      ofm_channels = 21
      ifm_shape = (1, 12, 15, ofm_channels)
      ifm = te.placeholder(ifm_shape, dtype="int8")
      lut = te.placeholder((), dtype="uint8")
      out = identity_compute(
          ifm=ifm,
          lut=lut,
          ifm_scale=1,
          ifm_zero_point=0,
          ofm_scale=1,
          ofm_zero_point=0,
          activation="NONE",
          rounding_mode="TFL",
      )
  
      length = len(ifm.shape)
      ifm_transform = np.identity(length + 1).tolist()
      ifm_offset = np.zeros(length, dtype="int64").tolist()
  
      device_config = cs.EthosuDeviceConfig("ethos-u55-256")
      part = match_ethosu_identity(out, device_config)
  
      assert isinstance(part, cs.EthosuPart)
      assert len(part.propagators) == 1
      assert part.propagators[0].transform == ifm_transform
      assert part.propagators[0].offset == ifm_offset
  
imports: import pytest
  import numpy
  from tvm import te
  import tvm.contrib.ethosu.cascader
  from tvm.relay.backend.contrib.ethosu.te.identity import match_ethosu_identity, identity_compute
  from .infra import make_matrices
label_desc: Use image node_id 1 for calling a global function with example usage: test_ethosu_identity_matcher() without return types