You're reading an pre-release version of this documentation.
For the latest stable release version, please have a look at master.

Function dynamic_fix_point_vector

Function Documentation

void dynamic_fix_point_vector(uint8_t *output, const float *input, const int size, const int stride, const int fl, int data_type)

批量数据的定点浮点量化操作

参数:
  • output -- [OUT] 量化后的数据

  • input -- [IN] 待量化的数据

  • size -- [IN] 待量化数据的大小

  • stride -- [IN] 数据类型所占的字节数

  • fl -- [IN] 固定小数点位置

  • data_type -- [IN] 数据类型