Add helper function so that data from a numpy files can be read directly into an hls::vector (and vice versa) instead of packing it into a large ap_uint.
Motivation
Using hls::vector facilitates the introduction of new datatypes and also simplifies the code.
Details
New behavior
Add helper function so that data from a numpy files can be read directly into an
hls::vector
(and vice versa) instead of packing it into a largeap_uint
.Motivation
Using
hls::vector
facilitates the introduction of new datatypes and also simplifies the code.Parts of FINN affected
src/finn/qnn-data/cpp