mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-24 00:53:22 +08:00
[Other] Deprecate some option api and parameters (#1243)
* Optimize Poros backend * fix error * Add more pybind * fix conflicts * add some deprecate notices * [Other] Deprecate some apis in RuntimeOption (#1240) * Deprecate more options * modify serving * Update option.h * fix tensorrt error * Update option_pybind.cc * Update option_pybind.cc * Fix error in serving * fix word spell error
This commit is contained in:
@@ -23,9 +23,13 @@
|
||||
#include <set>
|
||||
namespace fastdeploy {
|
||||
|
||||
/*! @brief Option object to configure OpenVINO backend
|
||||
*/
|
||||
struct OpenVINOBackendOption {
|
||||
std::string device = "CPU";
|
||||
int cpu_thread_num = -1;
|
||||
|
||||
/// Number of streams while use OpenVINO
|
||||
int num_streams = 0;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user