Open maltanar opened 2 years ago
When querying the output datatype of Quant nodes, the current implementation only supports identifying quantization cases the corespond to integers. Everything else is set to FLOAT32.
Quant
FLOAT32
In cases where the scale is global and is a negative power of two, we can resolve the datatype as FIXED<> instead. See also relevant discussion: https://github.com/Xilinx/finn-base/pull/52#discussion_r739114381_
FIXED<>
When querying the output datatype of
Quant
nodes, the current implementation only supports identifying quantization cases the corespond to integers. Everything else is set toFLOAT32
.In cases where the scale is global and is a negative power of two, we can resolve the datatype as
FIXED<>
instead. See also relevant discussion: https://github.com/Xilinx/finn-base/pull/52#discussion_r739114381_