infer(tensorList)
Function Usage
Performs model inference based on the input tensor list.
Input Parameter Description
Parameter |
Type |
Description |
|---|---|---|
tensorList |
List[base.Tensor] |
Tensor list |
Return Parameter Description
Returns the List[base.Tensor] output by the model inference.
Exception Throwing Interface
If the tensor memory fails to be allocated and the inference fails, the runtime exception is thrown.
Parent topic: Model