Porting TVM to MAERI

Some time ago, I attempted to port TVM to the MAERI ML HW accelerator. I’m now resuming this effort.

You can find the original post here: TVM Compiler and MAERI Support

I now have a new question: MAERI has three primitives. Con2d, Matmul, and vec add. With these primitives, it is possible to evaluate most NNs.

Is there some code showing how VTA mapped its ISA to TOPi as well as how it generates its custom bitstream?

The tutorials/docs didn’t make this very clear. I basically want to know what in TVM I need to modify so that I can take start with a Keras model that goes through relay. And then in the lowering method, only lower to primitives that MAERI supports.