PaddleX
PaddleX copied to clipboard
fix enable_new_ir not work
Thanks for your contribution!
The priority of enable_new_ir() is lower than that of FLAGS-enable_pir.api, which results in enable_new_ir() not working when FLAGS_enable_pir_api is set to 1, but by default FLAGS_enable_pir_api is 1. QA would manually set FLAGS_enable_pir_api to 0 to make enable_new_ir() effective.