Function Snpe_SNPE_GetWeightsBufferSize

Function Documentation

Snpe_ErrorCode_t Snpe_SNPE_GetWeightsBufferSize(Snpe_SNPE_Handle_t snpeHandle, uint64_t *size)

Gets the size of buffers to hold external weights.

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

  • size – [in] Variable to hold the size of buffers

Returns

true on successful retrieval of weights buffer size