I am trying out MicroTVM by running code under tests/micro/test_runtime_micro_on_arm.py
However, the code does not run and gets the following error at the import:
ImportError: cannot import name 'create_micro_mod' from 'tvm.micro'
I tried searching create_mocro_mod inside the entire TVM repo but couldn’t find where that function is defined, so I wonder if the code is outdated.
If so, is there any up-to-date reference code that I can look at?
I also looked at this: https://tvm.apache.org/docs/tutorials/micro/micro_tflite.html#sphx-glr-tutorials-micro-micro-tflite-py, which runs okay, but it actually does not flash to a real device. I am not sure by only looking at this example how I can actually flash code to my STM32 board. Can someone point me to an up-to-date equivalent of tests/micro/test_runtime_micro_on_arm.py, or let me know if there is a simple fix to make it run?
Thank you, Best regards, Kiwan