Function arm_dequantize_s16_f32

Function Documentation

arm_cmsis_nn_status arm_dequantize_s16_f32(const int16_t *input, float *output, int32_t size, int32_t zero_point, float scale)

Dequantize an int16_t array back to floating-point format.

Parameters:
  • input[in] Pointer to the input int16_t array.

  • output[out] Pointer to the output float array.

  • size[in] Number of elements in the arrays.

  • zero_point[in] Zero point (offset) that was used during quantization.

  • scale[in] Scale factor that was used during quantization.

Returns:

The function returns ARM_CMSIS_NN_SUCCESS