- Description: Converts the input scale data from FLOAT32 type to UINT64 type required by the hardware, and stores the data in quantParam.
- Formula:
[object Object]is in 64-bit format and is initialized to 0.The higher 19 bits of
[object Object]are truncated and stored in bit 32 of[object Object], and bit 46 is changed to 1.The subsequent computation is performed based on the value of
[object Object].- If
[object Object]does not exist, no subsequent computation is performed. - If
[object Object]exists:The value of
[object Object]is converted to an int value in the range of [–256, 255].Nine bits of
[object Object]are retained and stored in bits 37 to 45 of out.
- If
[object Object]
Parameters:
[object Object]Returns:
[object Object]: status code. For details, see .The API implements input parameter verification. The following errors may be thrown:
[object Object]
- Deterministic compute:
- aclnnTransQuantParam defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]