- 21 9月, 2022 1 次提交
-
-
由 Vamsi Krishna Manchala 提交于
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
-
- 10 8月, 2022 1 次提交
-
-
由 imcgraw 提交于
Conformers may use the SUM op with 5-dimensional axis. BUG=#1331
-
- 19 7月, 2022 1 次提交
-
-
由 sasapetr 提交于
* Add micro implementation for the reduce sum op. * Fix the error message for supported types in reduce ops * Refactor reduce_test: replace TestMeanFloatInput4D with the more general version. * Refactor reduce_test: replace TestMeanOpQuantized with the more general version. * Add eval helper function for the reduce sum op. * Use ReduceGeneric for reduce sum implementation. ReduceSumImpl expects that the output is already initialized. * Add tests for reduce sum. * Use MicroPrintf instead of TF_LITE_ENSURE_MSG for errors. * Port a few more tests for reduce sum from Lite. * Fix linter issue in reduce_test.cc * Skip the reduce_sum tests when using Xtensa. This op isn't yet added to the Xtensa optimized reduce kernel, causing the tests to fail. * Don't compile the expected outputs for reduce_sum when running on Xtensa. Co-authored-by: NPauline Sho <psho@google.com>
-
- 09 6月, 2022 1 次提交
-
-
由 Advait Jain 提交于
This reverts commit ff246bcc. Co-authored-by: NTing Yan <94130036+tingyan19@users.noreply.github.com>
-
- 07 6月, 2022 1 次提交
-
-
由 Advait Jain 提交于
* Updated from upstream TF * Manually copied changes from http://cl/449226814 and http://cl/449192972 * fix missing include (erroneously removed in previous commit). * fix the hexagon build.
-
- 26 5月, 2022 1 次提交
-
-
由 Advait Jain 提交于
* Refactor to share code between reference and optimized kernels. The goal is to reduce code duplication, improve readability of the optimized kernels and reduce the maintenance overhead. * Fix bazel build (and hopefully others as well). Co-authored-by: NPauline Sho <psho@google.com>
-
- 04 5月, 2022 1 次提交
-
-
由 Pauline Sho 提交于
* Enable -Wmissing-field-initializers and update all registration references In https://github.com/tensorflow/tflite-micro/pull/1082/, we disabled the compiler error as a workaround for a successful upstream sync from TFLite. This PR re-enables the error after addressing all errors. A new `RegisterOp` API is added, and all prior TfLiteRegistration struct initializations are updated to use the new API. At the minimum, this ensures that such additions in future will only require an update to RegisterOp if TFLM doesn't use that field. BUG=b/230507399 * Added new RegisterOpWithFree for LSTM * Remove LSTM Free * Changed inline to normal function to save code size * Changed inline to normal function to save code size * Replace cmsis_nn static initialization with RegisterOp * Removed extra code * Add dropped namespace in hard_swish
-
- 02 2月, 2022 1 次提交
-
-
由 deqiangc 提交于
Replace (almost) all kernel's GetInput/GetOutput with AllocateTempXXx and DeallocateTempXxx micro context api (#894) * Replace GetInput/GetOutput with micro context api * Replace GetInput/GetOutput in kernels with micro_context api. Ther are three kernels (strided_slice, squeeze, transpose)that are not changed yet because: they put the returned value of GetInput/GetOutput in an OpData structure that is persistent. It is better to have separate change to opdata of those kernels * Fix corner case in pad * Fix cmsis-nn * Fix xtensa, cmsis_nn, hexagon
-
- 18 8月, 2021 1 次提交
-
-
由 Nat Jeffries 提交于
-
- 23 7月, 2021 1 次提交
-
-
由 Patrik Laurell 提交于
* Port int16 support to MEAN kernel Change-Id: I7633099ea261ccdca424b01a591738f6dfae62eb * Port tests for int16 MEAN kernel Change-Id: I2731476dccb33d2a429e9a9e2b7b86efb3a71e16 * Add test for int16 mean, different input and output scale and zero point * Fix bug in calculating multiplier and shift for int16 case Co-authored-by: NAdvait Jain <advaitjain@users.noreply.github.com>
-
- 10 4月, 2021 1 次提交
-
-
由 Advait Jain 提交于
Confirmed that the following command passes: ``` ./tensorflow/lite/micro/tools/ci_build/test_all_new.sh GITHUB_PRESUBMIT ```
-