Function Snpe_SNPE_Finalize

Function Documentation

Snpe_ErrorCode_t Snpe_SNPE_Finalize(Snpe_SNPE_Handle_t snpeHandle, int32_t spillFillBufferFd, int32_t weightsBufferFd)

Register the allocated external buffers with the backend.

Parameters
  • snpeHandle – [in] Handle to access the SNPE object

  • spillFillBufferFd – [in] File Descriptor for spill-fill buffer

  • weightsBufferFd – [in] File Descriptor for weights buffer

Returns

true if successfully finalized