Function Snpe_IOBufferDataTypeMap_Add

Function Documentation

Snpe_ErrorCode_t Snpe_IOBufferDataTypeMap_Add(Snpe_IOBufferDataTypeMap_Handle_t handle, const char *name, Snpe_IOBufferDataType_t bufferDataType)

Adds a name and the corresponding buffer data type to the map.

Parameters
  • handle[in] : Handle to access the IOBufferDataType map

  • name[in] : The name of the buffer

  • bufferDataType[in] : data type of the buffer

Note

If a buffer with the same name already exists, no new buffer is added.