Function Snpe_SNPE_ExecuteITensorsForNetwork¶
Defined in File SNPE.h
Function Documentation¶
-
Snpe_ErrorCode_t Snpe_SNPE_ExecuteITensorsForNetwork(Snpe_SNPE_Handle_t snpeHandle, const char *networkName, Snpe_TensorMap_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
networkName – [in] Network name.
inputHandle – [in] A map of tensors that contains the input data for each input. The names of tensors needs to be matched with names retrieved through getInputTensorNames()
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().