mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 17:41:52 +08:00
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:
@@ -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=======
|
||||
|
Reference in New Issue
Block a user