code: def test_resnet_50_int8():
      """Compare compile hashes for resnet50 with an expected result."""
      # If this test is failing due to a hash mismatch, please notify @lhutton1 and
      # @Leo-arm. The hash is there to catch any changes in the behaviour of the
      # codegen, which could come about from either a change in Support Library
      # version or a change in the Ethos-N codegen. To update this requires running
      # on hardware that isn't available in CI.
      _compile_hash = {
          "f16dc9caa8e696bc5da8a5c6a644eb72",
          "41acecca37b2735bd580f6ec38d8c2e0",
      }
      _test_image_network(
          model_url="https://raw.githubusercontent.com/dmlc/web-data/main/tensorflow/"
          "models/Quantized/resnet_50_quantized.tflite",
          model_sub_path="resnet_50_quantized.tflite",
          input_dict={"input": (1, 224, 224, 3)},
          compile_hash=_compile_hash,
          output_count=1,
          host_ops=10,
          npu_partitions=2,
      )
  
file_path: tvm/tests/python/contrib/test_ethosn/test_networks.py
imports: import pytest
  import tflite.Model
  from tvm import relay
  from tvm.testing import requires_ethosn
  from tvm.contrib import download
  import tvm.relay.testing.tf
  from .None import infrastructure
label_desc: Use image node_id 4 for calling a global function with example usage: test_resnet_50_int8() without return types