mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-11-02 20:54:03 +08:00
prebind output by shareExternalData
This commit is contained in:
@@ -110,6 +110,7 @@ void BindRuntime(pybind11::module& m) {
|
||||
return outputs;
|
||||
})
|
||||
.def("bind_input_tensor", &Runtime::BindInputTensor)
|
||||
.def("bind_output_tensor", &Runtime::BindOutputTensor)
|
||||
.def("infer", [](Runtime& self) { self.Infer(); })
|
||||
.def("get_output_tensor",
|
||||
[](Runtime& self, const std::string& name) {
|
||||
|
||||
Reference in New Issue
Block a user