Function Snpe_SNPE_ExecuteITensor¶
Defined in File SNPE.h
Function Documentation¶
-
Snpe_ErrorCode_t Snpe_SNPE_ExecuteITensor(Snpe_SNPE_Handle_t snpeHandle, Snpe_ITensor_Handle_t inputHandle, Snpe_TensorMap_Handle_t outputHandle)¶
Processes the input data and returns the output.
- Parameters
snpeHandle – [in] Handle to access the SNPE object
inputHandle – [in] A single tensor contains the input data.
outputHandle – [inout] An empty map of tensors that will contain the output data of potentially multiple layers (the key in the map is the layer name) upon return
- Returns
SNPE_SUCCESS upon successful execution
Note
output TensorMap has to be empty. To forward propagate and get results in user-supplied tensors, use Snpe_SNPE_ExecuteUserBuffers.