mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 08:37:06 +08:00
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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user