[Backend]Add switch_ir_debug for Paddle Backend (#1700)

* avoid mem copy for cpp benchmark

* set CMAKE_BUILD_TYPE to Release

* Add SegmentationDiff

* change pointer to reference

* fixed bug

* cast uint8 to int32

* Add diff compare for OCR

* Add diff compare for OCR

* rm ppocr pipeline

* Add yolov5 diff compare

* Add yolov5 diff compare

* deal with comments

* deal with comments

* fixed bug

* fixed bug

* fixed thread nums

* Add Failed log

* optimizer x86 pipeline

* Add switch_ir_debug for paddle backend

* fixed for ci
This commit is contained in:
WJJ1995
2023-03-24 17:29:31 +08:00
committed by GitHub
parent 631f94d276
commit 5c70db176f
3 changed files with 9 additions and 1 deletions

View File

@@ -56,6 +56,8 @@ struct PaddleBackendOption {
bool enable_trt = false;
/// Whether enable memory optimize, default true
bool enable_memory_optimize = true;
/// Whether enable ir debug, default false
bool switch_ir_debug = false;
/*
* @brief IPU option, this will configure the IPU hardware, if inference model in IPU