Replace cc_* targets remaining in TFLM code with tflm_cc_*
targets. These are targets which did not formerly use the common
copts. Avoid changing imported TFLite code, if for no other
reason than to avoid merge conflicts during the automatic sync
with upstream TFLite.
BUG=#2636
* Updates benchmark documentation.
* Updates benchmarks and network tester example.
* Select only needed ops for memory measurements.
* Only pip install if needed.
* Also gen folder output will be created differently depending on also toolchain and type of kernels
BUG=documentation for the benchmark application is not correct
This PR-
1. Changes the TFLite Micro Framework classes to eliminate the usage of `MicroErrorReporter` and `ErrorReporter` classes.
2. Keeps the version of the APIs, that expect ErrorReporter for backwards compatibility.
- This compatibility is limited to the bare minimum set of API currently being used.
- The minimum support to the version of API expecting ErrorReporter will be removed as a follow-up PR, expected to be merged next week.
- Any new applications or examples using TFLM should no longer be creating and passing-in an ErrorReporter.
BUG=http://b/245802069
This is a CL that allows us to build and run TFLM binaries from `tflite-micro` directory as well as from the parent directory of `tflite-micro`.
Example : to run all the tests in TFLM from inside `tflite-micro` directory, we need to run the following command
`make -f tensorflow/lite/micro/tools/make/Makefile test`
Now to run the tests from the parent directory of `tflite-micro`, we need to run the following command
`make -f tflite-micro/tensorflow/lite/micro/tools/make/Makefile test TENSORFLOW_ROOT=tflite-micro/`
Please note that the '/' at the end of 'TENSORFLOW_ROOT=tflite-micro/' is mandatory.
BUG=244204467
* Build all the benchmarks as part of a `make build` command.
* Build benchmark as part of `make build`.
BUG=http://b/197017812
* Fix the build
* Add a separate `make build` to the CI scripts.
* Remove hifimini support from the bazel build.
* Consolidate all kernel BUILD targets into micro_ops
* remove select statements for xtensa_hifimini
BUG=http://b/191406930
* fix bazel build.
Since the CI builds all the targets (binary and test), and the source of
truth for all the TFLM code is having a build_test is not adding any additional value.
Additionally, a build_test seems to add additional downloads which would
make it slower to run the bazel CI from within a docker container.
* Add int8 conv kernel variant for fusion F1.
Person detection benchmark binary size before:
text data bss dec
138288 337488 141752 617528
After:
text data bss dec
100040 336160 141752 577952
* Re-enable conv2d variant in person detection benchmark.
* Address comments.
-Change Register_CONV2D_INT8 to Register_CONV_2D_INT8REF
-Remove int8-specific prepare.
-Rename conv_int8.cc to conv_int8_reference.cc