mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
[Other] Optimize runtime module (#1211)
* modify ort option * update code * Unify backend
This commit is contained in:
@@ -56,6 +56,11 @@ class BaseBackend {
|
||||
|
||||
virtual bool Initialized() const { return initialized_; }
|
||||
|
||||
virtual bool Init(const RuntimeOption& option) {
|
||||
FDERROR << "Not Implement Yet." << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
// Get number of inputs of the model
|
||||
virtual int NumInputs() const = 0;
|
||||
// Get number of outputs of the model
|
||||
|
Reference in New Issue
Block a user