Running the CIFAR-10 model inference on the Arm Ethos-U55 microNPU
Now that all the necessary tools and software libraries are installed, our final step involves building the application with code generated by TVM for the Arm Ethos-U55 microNPU, on the Corstone-300 FVP.
Although it seems there is still a lot left to do, this recipe offers a solution to simplify the remaining technicalities.
In this recipe, we will show you how to modify the Ethos-U prebuilt sample available in the TVM source code to run the CIFAR-10 inference, on the Arm Ethos-U55. After making the necessary modifications, we will compile the application, using the provided Makefile and Linker scripts from the prebuilt sample, and run the compiled application on the Corstone-300 FVP.
Getting ready
The prebuilt sample considered in this recipe is available in the TVM source code within the tvm/apps/microtvm/ethosu
directory (https://github.com/apache/tvm/tree/v0.11.1/apps/microtvm/ethosu...