def METHOD_NAME():
    if dtype == "int4":
        a_np = np.random.randint(low=-8, high=7, size=a_shape).transpose((2, 0, 1, 3))
        w_np = np.random.randint(low=-8, high=7, size=w_shape)
        dw_np = topi.testing.dilate_python(
            w_np.transpose((0, 1, 3, 2)), (1, 1, dilation, dilation)
        )
    elif dtype == "int8":
        a_np = (
            np.random.randint(low=-128, high=127, size=a_shape)
            .transpose((2, 0, 1, 3))
            .astype(dtype)
        )
        w_np = np.random.randint(low=-128, high=127, size=w_shape).astype(dtype)
        dw_np = topi.testing.dilate_python(
            w_np.transpose((0, 1, 3, 2)), (1, 1, dilation, dilation)
        )
    c_np = topi.testing.conv2d_nhwc_python(a_np, dw_np, stride, padding)
    return a_np, w_np, c_np