Re:Show HN: NN-512 – Generate standalone C code for neural nets
by Computeiful on Thursday December 03, 2020 @08:49PM
(#25298019)
This is an interesting project, I made a somewhat similar NN to C "compiler" but that was for feedforward networks only. Could this in theory be extended to support models saved in common formats (such as H5)?
[ Parent
| on HN ]
Re:Show HN: NN-512 – Generate standalone C code for neural nets
by 37ef_ced3 on Friday December 04, 2020 @10:38AM
(#25303435)
The network parameters are passed in as a struct of float arrays. This struct can be simply read from a file, or from a socket, or from some other more complicated format. This is explained in every generated header file