def METHOD_NAME(
    batch, in_channel, in_size, num_filter, kernel, stride, padding, output_padding
):
    in_depth, in_height, in_width = in_size
    kernel_depth, kernel_height, kernel_width = kernel
    stride_depth, stride_height, stride_width = stride
    pad_front, pad_top, pad_left, pad_back, pad_bottom, pad_right = padding
    A = te.placeholder((batch, in_channel, in_depth, in_height, in_width), name="A")
    W = te.placeholder(
        (in_channel, num_filter, kernel_depth, kernel_height, kernel_width), name="W"
    )
    a_shape = get_const_tuple(A.shape)
    w_shape = get_const_tuple(W.shape)
    dtype = A.dtype
    @memoize("topi.tests.test_topi_conv3d_transpose.verify_conv3d_transpose_ncdhw")
    def get_ref_data():
        a_np = np.random.uniform(size=a_shape).astype(dtype)
        w_np = np.random.uniform(size=w_shape).astype(dtype)
        b_np = tvm.topi.testing.conv3d_transpose_ncdhw_python(
            a_np, w_np, stride, padding, output_padding
        )
        c_np = np.maximum(b_np, 0)
        return a_np, w_np, b_np, c_np
    a_np, w_np, b_np, c_np = get_ref_data()
    def check_target(target, dev):
        print("Running on target: %s" % target)
        with tvm.target.Target(target):
            fcompute, fschedule = tvm.topi.testing.dispatch(
                target, _conv3d_transpose_ncdhw_implement
            )
            B = fcompute(
                A,
                W,
                [stride_depth, stride_height, stride_width],
                [pad_front, pad_top, pad_left, pad_back, pad_bottom, pad_right],
                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, atol=1e-4, rtol=1e-4)
        tvm.testing.assert_allclose(c.numpy(), c_np, atol=1e-4, rtol=1e-4)
    for target, dev in tvm.testing.enabled_targets():
        check_target(target, dev)