mindspore_lite.ModelExecutor
- class mindspore_lite.ModelExecutor(executor=None)[source]
The ModelExecutor class wraps multiple mindspore_lite models and implements their inference scheduling.
- get_inputs()[source]
Obtains all input Tensors of the ModelExecutor.
- Returns
list[Tensor], the input Tensor list of the ModelExecutor.
- get_outputs()[source]
" Obtains all output information Tensors of the ModelExecutor.
- Returns
list[TensorMeta], the output TensorMeta list of the ModelExecutor.