code: def test_many_output_identity():
      """Check an identity with many outputs. It cannot be removed due
      to having a strided slice as output."""
  
      def get_graph(get_expected=False):
          x = relay.var("x", shape=(1, 2, 2, 4), dtype="int8")
          x = relay.reshape(x, newshape=(1, 1, 4, 4))
          if not get_expected:
              x = infra.make_ethosu_identity(x)
          outputs = []
          for _ in range(4):
              outputs.append(
                  infra.make_ethosu_unary_elementwise(x, 4, "ABS")
              )
          ss = relay.strided_slice(
              x, begin=(0, 0, 0, 0), end=(1, 1, 4, 4)
          )
          identity_2 = infra.make_ethosu_identity(ss)
          outputs.append(identity_2)
          out = relay.concatenate(outputs, axis=0)
          return relay.Function(relay.analysis.free_vars(out), out)
  
      actual = _optimize(get_graph())
      expected = _optimize(get_graph(get_expected=True), optimize=False)
      _assert_structural_equal(actual, expected)
  
imports: import pytest
  import tensorflow
  import tvm
  from tvm import relay
  from tvm.relay.op.contrib.ethosu import partition_for_ethosu
  from tvm.relay.backend.contrib.ethosu.codegen import relay_to_tir
  from tvm.relay.backend.contrib.ethosu.codegen import IdentityOptimizer
  from .None import infra
label_desc: Use image node_id 10 for calling a global function with example usage: test_many_output_identity() and returns: relay