Validate all backends for detection models and add demo code & docs (#94)

* Validate all backends for detection models and add demo code and doc

* Delete .README.md.swp
This commit is contained in:
Jason
2022-08-11 10:03:53 +08:00
committed by GitHub
parent d8f312b0a0
commit 3e01118d01
32 changed files with 1351 additions and 25 deletions

View File

@@ -68,6 +68,11 @@ struct FASTDEPLOY_DECL RuntimeOption {
// disable mkldnn while use paddle inference in CPU
void DisablePaddleMKLDNN();
// enable debug information of paddle backend
void EnablePaddleLogInfo();
// disable debug information of paddle backend
void DisablePaddleLogInfo();
// set size of cached shape while enable mkldnn with paddle inference backend
void SetPaddleMKLDNNCacheSize(int size);
@@ -108,6 +113,7 @@ struct FASTDEPLOY_DECL RuntimeOption {
// ======Only for Paddle Backend=====
bool pd_enable_mkldnn = true;
bool pd_enable_log_info = false;
int pd_mkldnn_cache_size = 1;
// ======Only for Trt Backend=======