Generated CNN Class Hierarchy
The generated CNN code has the following class hierarchy. The Layer class and the generated Network class have three important methods:
setup(), which allocates memory and system resources for each layer.
predict(), which performs forward inference in the execution loop.
cleanup(), which releases all memory and system resources.