Class for quantizing single-precision floats into half-precision.
More...
#include <half_precision.h>
|
static uint16_t | quantize (float value) noexcept |
|
static float | dequantize (uint16_t value) noexcept |
|
Class for quantizing single-precision floats into half-precision.
◆ dequantize()
static float bitstream::half_precision::dequantize |
( |
uint16_t |
value | ) |
|
|
inlinestaticnoexcept |
◆ quantize()
static uint16_t bitstream::half_precision::quantize |
( |
float |
value | ) |
|
|
inlinestaticnoexcept |
The documentation for this class was generated from the following file: