code: def test_conv1d_transpose_ncw(
      target,
      dev,
      ref_data,
      dtype,
      stride,
      padding,
      output_padding,
  ):
      a_np, w_np, b_np, c_np = ref_data
  
      A = te.placeholder(a_np.shape, name="A", dtype=dtype)
      W = te.placeholder(w_np.shape, name="W", dtype=dtype)
  
      with tvm.target.Target(target):
          fcompute, fschedule = tvm.topi.testing.dispatch(
              target, _conv1d_transpose_ncw_implement
          )
          B = fcompute(A, W, stride, padding, A.dtype, output_padding)
          C = topi.nn.relu(B)
          s1 = fschedule([B])
          s2 = fschedule([C])
      a = tvm.nd.array(a_np, dev)
      w = tvm.nd.array(w_np, dev)
      b = tvm.nd.array(
          np.zeros(get_const_tuple(B.shape), dtype=B.dtype), dev
      )
      c = tvm.nd.array(
          np.zeros(get_const_tuple(C.shape), dtype=C.dtype), dev
      )
  
      func1 = tvm.build(s1, [A, W, B], target)
      func2 = tvm.build(s2, [A, W, C], target)
      func1(a, w, b)
      func2(a, w, c)
      tvm.testing.assert_allclose(b.numpy(), b_np, rtol=1e-5)
      tvm.testing.assert_allclose(c.numpy(), c_np, rtol=1e-5)
  
file_path: tvm/tests/python/topi/test_topi_conv1d_transpose_ncw.py
imports: import itertools
  import os
  import numpy
  import tvm
  import tvm.testing
  import tvm.topi.testing
  from tvm import te, topi
  from tvm.topi.utils import get_const_tuple
label_desc: Use image node_id 2 for calling a global function with example usage: test_conv1d_transpose_ncw(target, dev, ref_data, dtype, stride, padding, output_padding) without return types