Function Snpe_SNPEBuilder_SetBufferDataType

Function Documentation

Snpe_ErrorCode_t Snpe_SNPEBuilder_SetBufferDataType(Snpe_SNPEBuilder_Handle_t snpeBuilderHandle, Snpe_IOBufferDataTypeMap_Handle_t dataTypeMapHandle)

Sets the datatype of the buffer. Only valid for dsp runtime currently.

Parameters
  • snpeBuilderHandle[in] Handle to access the SNPEBuilder object

  • dataTypeMapHandle[in] Map of the buffer names and the datatype that needs to be set.