analogdevicesinc / ai8x-synthesis

Quantization and Synthesis (Device Specific Code Generation) for ADI's MAX78000 and MAX78002 Edge AI Devices
Apache License 2.0
55 stars 49 forks source link

CNN.c #262

Closed oussemajelassi closed 2 years ago

oussemajelassi commented 2 years ago

As I get it CNN.c is basically a driver for for the accelerator and it has necessary functions to load the data etc.. What I missed is why those functions generated after the synthesis ? are they network/data independent and why is that ?

rotx-eva commented 2 years ago

The functions in cnn.c are network and weight dependent. However, the function signatures (cnn.h) do not change. This allows the user to design an application and replace the underlying CNN with little work. Please also see "Generating C Code" in README.md.