Function qnn_wrapper_api::freeQnnTensors

Function Documentation

ModelError_t qnn_wrapper_api::freeQnnTensors(Qnn_Tensor_t *&tensors, uint32_t numTensors)

Loops through and frees all memory allocated tensor attributes for each tensor object.

Parameters
  • tensors[in] array of tensor objects to free

  • numTensors[in] length of the above tensors array

Returns

Error code