This is an automated email from the ASF dual-hosted git repository.
areusch pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git.
from 7072743 Remove old AOT Executor code (#8758)
add 87674f9 [microTVM] Project API Arduino support (#8708)
No new revisions were added by this update.
Summary of changes:
.../arduino/example_project/project.ino} | 16 +-
apps/microtvm/arduino/example_project/src/model.c | 94 ++++
.../arduino/example_project/src/model.h} | 16 +-
.../src/standalone_crt/crt_config}/crt_config.h | 1 -
apps/microtvm/arduino/host_driven/project.ino | 53 +++
.../arduino/host_driven/src/model_support.c | 75 ++++
.../src/standalone_crt/crt_config}/crt_config.h | 1 -
.../template_project/microtvm_api_server.py | 486 +++++++++++++++++++++
.../tests/test_arduino_microtvm_api_server.py | 115 +++++
include/tvm/runtime/crt/packed_func.h | 4 +-
python/tvm/target/target.py | 8 +-
src/runtime/crt/graph_executor/graph_executor.c | 8 +-
tests/lint/check_file_type.py | 10 +-
tests/lint/rat-excludes | 3 +
tests/micro/arduino/.gitignore | 1 +
{apps/microtvm => tests/micro/arduino}/README.md | 20 +-
tests/micro/arduino/conftest.py | 123 ++++++
.../test_arduino_rpc_server.py} | 213 ++++-----
tests/micro/arduino/test_arduino_workflow.py | 253 +++++++++++
tests/micro/arduino/testdata/project.ino | 55 +++
tests/micro/testdata/kws/no.c | 128 ++++++
tests/micro/testdata/kws/silence.c | 128 ++++++
tests/micro/testdata/kws/unknown.c | 128 ++++++
tests/micro/testdata/kws/yes.c | 128 ++++++
tests/micro/testdata/kws/yes_no.tflite | Bin 0 -> 18712 bytes
.../testdata => testdata/mnist}/digit-2.jpg | Bin
.../testdata => testdata/mnist}/digit-9.jpg | Bin
.../testdata => testdata/mnist}/mnist-8.onnx | Bin
tests/micro/zephyr/test_zephyr.py | 10 +-
tests/scripts/task_python_microtvm.sh | 4 +
30 files changed, 1921 insertions(+), 160 deletions(-)
copy apps/{bundle_deploy/backtrace.h =>
microtvm/arduino/example_project/project.ino} (80%)
create mode 100644 apps/microtvm/arduino/example_project/src/model.c
copy apps/{bundle_deploy/backtrace.h =>
microtvm/arduino/example_project/src/model.h} (67%)
copy {src/runtime/micro =>
apps/microtvm/arduino/example_project/src/standalone_crt/crt_config}/crt_config.h
(97%)
create mode 100644 apps/microtvm/arduino/host_driven/project.ino
create mode 100644 apps/microtvm/arduino/host_driven/src/model_support.c
copy {src/runtime/micro =>
apps/microtvm/arduino/host_driven/src/standalone_crt/crt_config}/crt_config.h
(97%)
create mode 100644
apps/microtvm/arduino/template_project/microtvm_api_server.py
create mode 100644
apps/microtvm/arduino/template_project/tests/test_arduino_microtvm_api_server.py
create mode 100644 tests/micro/arduino/.gitignore
copy {apps/microtvm => tests/micro/arduino}/README.md (60%)
create mode 100644 tests/micro/arduino/conftest.py
copy tests/micro/{zephyr/test_zephyr.py => arduino/test_arduino_rpc_server.py}
(66%)
create mode 100644 tests/micro/arduino/test_arduino_workflow.py
create mode 100644 tests/micro/arduino/testdata/project.ino
create mode 100644 tests/micro/testdata/kws/no.c
create mode 100644 tests/micro/testdata/kws/silence.c
create mode 100644 tests/micro/testdata/kws/unknown.c
create mode 100644 tests/micro/testdata/kws/yes.c
create mode 100644 tests/micro/testdata/kws/yes_no.tflite
rename tests/micro/{zephyr/testdata => testdata/mnist}/digit-2.jpg (100%)
rename tests/micro/{zephyr/testdata => testdata/mnist}/digit-9.jpg (100%)
rename tests/micro/{zephyr/testdata => testdata/mnist}/mnist-8.onnx (100%)