Function Snpe_UserBufferEncodingFloat_CreateCopy

Function Documentation

Snpe_UserBufferEncoding_Handle_t Snpe_UserBufferEncodingFloat_CreateCopy(Snpe_UserBufferEncoding_Handle_t otherHandle)

Copy Constructor for UserBufferEncodingFloat.

An encoding type where each element is represented by a float.

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

Parameters

otherHandle[in] : a handle to another UserBufferEncodingFloat to copy

Returns

a handle to the constructed UserBufferEncodingFloat