Rename pybind/fastdeploy_runtime.cc to pybind/runtime.cc (#273)

* fix yaml

* Rename pybind/fastdeploy_runtime.cc to runtime.cc
This commit is contained in:
Jason
2022-09-23 11:16:02 +08:00
committed by GitHub
parent efa7411ebb
commit 2d3e61582d
7 changed files with 11 additions and 9 deletions

View File

@@ -43,7 +43,7 @@ struct FASTDEPLOY_DECL RuntimeOption {
// model_format support 'paddle' / 'onnx' now.
void SetModelPath(const std::string& model_path,
const std::string& params_path = "",
const std::string& _model_format = "paddle");
const ModelFormat& format = ModelFormat::PADDLE);
// set model inference in GPU
void UseCpu();