Commit graph

5 commits

Author SHA1 Message Date
TANMAY DAS
101d2bb935
TFLM swapping TfLiteRegistration_V1 struct to a new more embedded friendly api in the TFLMRegistration struct (#2001)
BUG=http://b/279811848
2023-05-26 06:48:51 +00:00
Advait Jain
29b683a35b
Explicitly use TfLiteRegistration_V1 in TFLM. (#1817)
Change generated with the following command:
```bash
cd tensorflow/lite/micro/
sed -i 's/TfLiteRegistration/TfLiteRegistration_V1/g' `find . -name "*.h" -o -name "*.cc"`
cd -
cd third_party/hexagon/
sed -i 's/TfLiteRegistration/TfLiteRegistration_V1/g' `find . -name "*.h" -o -name "*.cc"`
cd -
tensorflow/lite/micro/tools/ci_build/test_code_style.sh --fix_formatting
```

BUG=http://b/272808609
2023-03-11 01:12:03 +00:00
Renjie
a4dc639125
Add int16 support for SQUARED_DIFFERENCE (#1754)
BUG=http://b/269352046

Add INT16 support for SQUARED_DIFFERENCE by templating the kernel implementation. Reuse int8 test settings to test the int16 implementation as well
2023-03-06 22:26:48 +00:00
Vamsi Krishna Manchala
6fdade1aed
Update TFLM examples, kernels and integration tests to clean-up the usage of ErrorReporter
This PR updates remainder of the TFLM examples, all the kernels and integration tests to remove the usage of ErrorReporter as per the changes made to the TFLM Framework API in https://github.com/tensorflow/tflite-micro/pull/1415; replaces TF_LITE_REPORT_ERROR with MicroPrintf.

BUG=http://b/192091017, http://b/245802069
2022-09-20 20:46:26 +00:00
Ting Yan
26e22a86fd
Port reference squared difference kernel to TFLM (#1115)
* Copy squared_diffence* from TFLite verbatim

* Remove TFLite specific contents and flatten namespaces

* Complete porting squared difference to micro

* Updated based on comments

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-11 22:16:28 +00:00