code: def test_non_cmsisnn_ext_func():
      """Non CMSISNN functions should not be altered."""
  
      def get_mod():
          operand1 = relay.var("operand1", shape=None)
          operand2 = relay.var("operand2", shape=None)
          binary_op = operand1 + operand2
          local_func = relay.Function(
              [operand1, operand2],
              binary_op,
              relay.TensorType((), "float32"),
          )
          local_func = set_composite_func_attr(
              local_func, "cmsis-nn.qnn_add"
          )
  
          arg0 = relay.expr.const(5, "float32")
          arg1 = relay.expr.const(3, "float32")
          call_local_func = relay.Call(local_func, [arg0, arg1])
          extern_func = relay.Function(
              [], call_local_func, relay.TensorType((), "float32")
          )
  
          global_var = relay.GlobalVar("external_function")
          extern_func = set_external_func_attr(
              extern_func, "foo", global_var.name_hint
          )
          call_extern_func = relay.Call(global_var, [])
          main_func = relay.Function(
              [], call_extern_func, relay.TensorType((), "float32")
          )
          main_var = relay.GlobalVar("main")
  
          mod = tvm.IRModule()
          mod[global_var] = extern_func
          mod[main_var] = main_func
          mod = relay.transform.InferType()(mod)
          return mod
  
      expected = get_mod()["external_function"].body
      actual = ScalarToTensorConstants()(get_mod())[
          "external_function"
      ].body
      assert tvm.ir.structural_equal(expected, actual)
  
file_path: tvm/tests/python/contrib/test_cmsisnn/test_scalar_to_tensor_constant.py
imports: import numpy
  import tvm
  import tvm.testing
  from tvm import relay
label_desc: Use image node_id 10 for calling a global function with example usage: test_non_cmsisnn_ext_func() and returns: mod