mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
Rename fastdeploy_runtime.h to runtime.h and Frontend to ModelFormat (#263)
rename frontend to model_format
This commit is contained in:
@@ -18,7 +18,7 @@ void BindPPSeg(pybind11::module& m) {
|
||||
pybind11::class_<vision::segmentation::PaddleSegModel, FastDeployModel>(
|
||||
m, "PaddleSegModel")
|
||||
.def(pybind11::init<std::string, std::string, std::string, RuntimeOption,
|
||||
Frontend>())
|
||||
ModelFormat>())
|
||||
.def("predict",
|
||||
[](vision::segmentation::PaddleSegModel& self,
|
||||
pybind11::array& data) {
|
||||
|
Reference in New Issue
Block a user