Function Snpe_UserBufferEncodingFloatN_CreateCopy¶
Defined in File IUserBuffer.h
Function Documentation¶
-
Snpe_UserBufferEncoding_Handle_t Snpe_UserBufferEncodingFloatN_CreateCopy(Snpe_UserBufferEncoding_Handle_t otherHandle)¶
Copy Constructor for UserBufferEncodingFloatN.
An encoding type where each element is represented by a float N
Userbuffer size assumes float N encoding for each element. (i.e., a tensor with dimensions (2,3) with a provided bitwidth of 16 will be represented by (2 * 3) * 2 = 12 bytes in memory).
- Parameters
otherHandle – [in] : a handle to another UserBufferEncodingFloatN to copy
- Returns
a handle to the constructed UserBufferEncodingFloatN