code: def test_scalar_add_compute_cycles_hint():
      """
      Check the "compute_cycles_hint" annotation remains in the lowering flow
      for add with scalar values.
      """
      primfunc = _compile_model(_create_scalar_add())
      ops = primfunc.body.body.seq
  
      compute_cycles_hints = [16, 24]
      for op, compute_cycle_hint in zip(ops, compute_cycles_hints):
          assert op.attr_key == "pragma_compute_cycles_hint"
          assert op.value == compute_cycle_hint
  
file_path: tvm/tests/python/contrib/test_ethosu/cascader/test_integration.py
imports: import pytest
  import numpy
  import tvm
  from tvm import relay
  from tvm.relay.backend.contrib.ethosu.codegen import _create_cascader
  from tvm.relay.backend.contrib.ethosu.tir.compiler import _lower_to_tir
  from tvm.contrib.ethosu.cascader import MemoryRegion, EthosuDeviceConfig
  from ..None import infra
  from .None import infra
label_desc: Use image node_id 8 for calling a global function with example usage: test_scalar_add_compute_cycles_hint() without return types