mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 17:11:21 +08:00
Rename fastdeploy_runtime.h to runtime.h and Frontend to ModelFormat (#263)
rename frontend to model_format
This commit is contained in:
@@ -29,7 +29,7 @@ class FASTDEPLOY_DECL Classifier : public FastDeployModel {
|
||||
// 当model_format为Paddle时,则需同时指定model_file & params_file
|
||||
Classifier(const std::string& model_file, const std::string& params_file = "",
|
||||
const RuntimeOption& custom_option = RuntimeOption(),
|
||||
const Frontend& model_format = Frontend::PADDLE);
|
||||
const ModelFormat& model_format = ModelFormat::PADDLE);
|
||||
|
||||
// 定义模型的名称
|
||||
std::string ModelName() const { return "ppocr/ocr_cls"; }
|
||||
|
||||
Reference in New Issue
Block a user