def METHOD_NAME(shape, input_zp, input_sc, output_zp, output_sc, in_dtype, out_dtype):
    a = relay.var("a", shape=shape, dtype=in_dtype)
    model = relay.qnn.op.requantize(
        data=a,
        input_scale=relay.const(input_sc, "float32"),
        input_zero_point=relay.const(input_zp, "int32"),
        output_scale=relay.const(output_sc, "float32"),
        output_zero_point=relay.const(output_zp, "int32"),
        out_dtype=out_dtype,
    )
    return model