code: def test_ldexp():
      m = te.var(
          "m",
      )
      A = te.placeholder((m,), name="A")
      B = te.placeholder((m,), name="B", dtype="int32")
      C = te.compute(
          (m,), lambda *i: tvm.tir.ldexp(A(*i), B(*i)), name="C"
      )
      s = te.create_schedule(C.op)
      f = tvm.build(s, [A, B, C], "llvm")
      dev = tvm.cpu(0)
      n = 10
      a = tvm.nd.array(
          np.random.uniform(0, 1, size=n).astype(A.dtype), dev
      )
      b = tvm.nd.array(
          np.random.randint(0, 5, size=n).astype(B.dtype), dev
      )
      c = tvm.nd.array(np.random.uniform(size=n).astype(A.dtype), dev)
      f(a, b, c)
      tvm.testing.assert_allclose(
          c.numpy(),
          np.ldexp(a.numpy(), b.numpy()),
          atol=1e-5,
          rtol=1e-5,
      )
  
file_path: tvm/tests/python/tir-base/test_tir_intrin.py
imports: import tvm
  import tvm.testing
  from tvm import te, tir
  from tvm import topi
  from tvm.contrib import utils, clang
  from tvm.script import tir
  import numpy
  import ctypes
  import math
label_desc: Use image node_id 5 for calling a global function with example usage: test_ldexp() without return types