[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:
Jason
2023-02-07 17:57:46 +08:00
committed by GitHub
parent a18cc0f94c
commit 713afe7f1c
15 changed files with 380 additions and 229 deletions

View File

@@ -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;
/**