Basic_Frame_TypeC_2023_Omni
Loading...
Searching...
No Matches
quantize.hpp
1
#ifndef __QUANTIZE_HPP
2
#define __QUANTIZE_HPP
3
4
#include <stdint.h>
5
6
// TODO: Remove functions and make in_out_map more generic
7
// (with input/output template parameters to determine types and ranges).
8
int16_t quantize_float(
float
x,
float
min_x,
float
max_x, int16_t min_y,
9
int16_t max_y);
10
11
float
inv_quantize_float(int16_t x, int16_t min_x, int16_t max_x,
float
min_y,
12
float
max_y);
13
14
#endif
Core
Src
Algorithms
comms
quantize.hpp
Generated by
1.14.0