code: def test_leaky_relu_unsupported_alpha(dtype, shape, alpha):
      """Test unsupported values of alpha (<= 0, >= 1) in Leaky ReLU."""
  
      iinfo = np.iinfo(dtype)
      zp_min = iinfo.min
  
      err_msg = f"leaky relu alpha must be less than 1 and greater than 0, but was {alpha}"
  
      model = _get_model(
          shape,
          zp_min + 120,
          0.0068132,
          zp_min + 128,
          0.0078125,
          dtype,
          alpha,
      )
      model = tei.make_ethosn_composite(model, "ethos-n.qnn_leaky_relu")
      mod = tei.make_ethosn_partition(model)
      tei.test_error(mod, {}, err_msg)
  
file_path: tvm/tests/python/contrib/test_ethosn/test_leaky_relu.py
imports: import pytest
  import numpy
  import tvm
  from tvm import relay
  from tvm.testing import requires_ethosn
  from .None import infrastructure
label_desc: Use image node_id 3 for calling a global function with example usage: test_leaky_relu_unsupported_alpha(dtype, shape, alpha) without return types