Function Snpe_UserBufferEncodingIntN_CreateCopy

Function Documentation

Snpe_UserBufferEncoding_Handle_t Snpe_UserBufferEncodingIntN_CreateCopy(Snpe_UserBufferEncoding_Handle_t userBufferEncodingHandle)

Copy Constructor for UserBufferEncodingIntN.

An encoding type where each element is represented by a Int

Userbuffer size assumes int 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 UserBufferEncodingIntN to copy

Returns

a handle to a newly constructed UserBufferEncodingIntN