API Reference Manual
1.46.0
|
ODP Machine Learning (ML) quantization functions. More...
Go to the source code of this file.
Functions | |
void | odp_ml_fp32_to_uint8 (uint8_t *dst_u8, const float *src_fp32, uint32_t num, float scale, uint8_t zerop) |
Quantize 32-bit float to uint8_t. More... | |
void | odp_ml_fp32_from_uint8 (float *dst_fp32, const uint8_t *src_u8, uint32_t num, float scale, uint8_t zerop) |
De-quantize 32-bit float from uint8_t. More... | |
void | odp_ml_fp32_to_int8 (int8_t *dst_i8, const float *src_fp32, uint32_t num, float scale, int8_t zerop) |
Quantize 32-bit float to int8_t. More... | |
void | odp_ml_fp32_from_int8 (float *dst_fp32, const int8_t *src_i8, uint32_t num, float scale, int8_t zerop) |
De-quantize 32-bit float from int8_t. More... | |
void | odp_ml_fp32_to_uint16 (uint16_t *dst_u16, const float *src_fp32, uint32_t num, float scale, uint16_t zerop) |
Quantize 32-bit float to uint16_t. More... | |
void | odp_ml_fp32_from_uint16 (float *dst_fp32, const uint16_t *src_u16, uint32_t num, float scale, uint16_t zerop) |
De-quantize 32-bit float from uint16_t. More... | |
void | odp_ml_fp32_to_int16 (int16_t *dst_i16, const float *src_fp32, uint32_t num, float scale, int16_t zerop) |
Quantize 32-bit float to int16_t. More... | |
void | odp_ml_fp32_from_int16 (float *dst_fp32, const int16_t *src_i16, uint32_t num, float scale, int16_t zerop) |
De-quantize 32-bit float from int16_t. More... | |
void | odp_ml_fp32_to_fp16 (uint16_t *dst_fp16, const float *src_fp32, uint32_t num) |
Quantize 32-bit float to 16-bit float. More... | |
void | odp_ml_fp32_from_fp16 (float *dst_fp32, const uint16_t *src_fp16, uint32_t num) |
De-quantize 32-bit float from 16-bit float. More... | |
ODP Machine Learning (ML) quantization functions.
Definition in file spec/ml_quantize.h.