Function Snpe_UserBufferEncodingUintN_CreateCopy

Function Documentation

Snpe_UserBufferEncoding_Handle_t Snpe_UserBufferEncodingUintN_CreateCopy(Snpe_UserBufferEncoding_Handle_t userBufferEncodingHandle)

Copy Constructor for UserBufferEncodingUintN.

An encoding type where each element is represented by a Uint

Userbuffer size assumes uint N encoding for each element. (i.e., a tensor with dimensions (2,3) with a provided bitwidth of 32 will be represented by (2 * 3) * 4 = 24 bytes in memory).

Parameters

otherHandle – the UserBufferEncodingUintN to copy

Returns

a handle to a newly constructed UserBufferEncodingUintN