def METHOD_NAME(in_dtype, out_dtype, shape):
    """Compare Requantize output with TVM."""
    np.random.seed(0)
    low = 0 if in_dtype == "uint8" else -5
    high = low + 10
    input_zp = (high + low) / 2
    inputs = {
        "a": tvm.nd.array(np.random.randint(low=low, high=high, size=shape, dtype=in_dtype)),
    }
    outputs = []
    for npu in [False, True]:
        model = _get_model(
            shape=shape,
            input_zp=input_zp,
            input_sc=0.002,
            output_zp=10,
            output_sc=0.008,
            in_dtype=in_dtype,
            out_dtype=out_dtype,
        )
        mod = tei.make_module(model, [])
        x = tei.build_and_run(
            mod,
            inputs,
            1,
            {},
            npu=npu,
            additional_config_args={"inline_non_compute_intensive_partitions": False},
        )
        outputs.append(x)
    tei.verify(outputs, out_dtype, 1)