Class MultiModelRunner
Defined in File multi_model_runner.h
Class Documentation
-
class MultiModelRunner
Public Functions
-
MultiModelRunner() = default
Constructor of MultiModelRunner.
-
~MultiModelRunner() = default
Destructor of ModelExecutor.
Load and build a multimodelrunner so that it can run on a device.
- 参数
model_path – [in] Define the model path.
model_type – [in] Define The type of model file. Options: ModelType::kMindIR.
model_context – [in] Define the context used to store options during execution.
- 返回
Status. kSuccess: build success, kLiteModelRebuild: build model repeatedly, Other: other types of errors.
-
std::vector<ModelExecutor> GetModelExecutor() const
Get ModelExecutors in thr multimodelrunner.
- 返回
Vector of ModelExecutor.
-
MultiModelRunner() = default