Code generation with TVMC for Arm Ethos-U55
Until now, we have generated code with TVM using its native Python interface. However, TVM provides an alternative approach through the TVMC tool, which allows us to execute the same actions as the Python interface but from the command line.
In this recipe, we will show how you can use this tool in Colab to produce the MLF model, containing the generated code to run the CIFAR-10 model inference on the Arm Ethos-U55.
Getting ready
The native TVM Python interface proved to be convenient to use to generate code for a desired target. However, the framework also offers an additional tool to simplify code generation. This tool is TVMC, a command-line driver that exposes the same features of the Python API in a single command line.
At this point, you may wonder: where can we find the TVMC tool?
TVMC is bundled with the TVM Python installation, and you can invoke it using the following shell command:
$ python -m tvm.driver...