[Apache TVM Discuss] [Development] [RFC] Standalone Code Generation and C Runtime for STM32 bare-metal devices

2021-04-02 Thread Arthur Stoutchinin via Apache TVM Discuss
Hello, Andrew @areusch Implementing the **Project API**, am encountering a couple of issues: 1. The `generate_project` script takes one tar ball with a model, multiple models do not seem to be supported. I would propose to add a function `add_model(module_library_format_tar)` that will add

[Apache TVM Discuss] [Development] [RFC] Standalone Code Generation and C Runtime for STM32 bare-metal devices

2021-04-01 Thread Arthur Stoutchinin via Apache TVM Discuss
Hello Andrew @areusch >In my mind, some setup function is needed to accomplish: > > 1. initializing memory set aside for tensors and parameters > 2. configuring accelerators, including starting (possibly) backgrounded > transfers of any programming/parameters. > > I think that the TVM function

[Apache TVM Discuss] [Development] [RFC] Standalone Code Generation and C Runtime for STM32 bare-metal devices

2021-03-29 Thread Arthur Stoutchinin via Apache TVM Discuss
# Standalone code generator and C runtime for STM32 bare-metal devices ## Background This RFC aims to collect the TVM community feedback on the following subjects: - Standalone compilation targeting embedded bare-metal platforms - ML user API for embedded applications - Integration of the TVM w