1. 16 6月, 2021 1 次提交
    • A
      Add Hexagon optimized kernels. (#160) · 217ad9fc
      Advait Jain 提交于
      * Add Hexagon optimized kernels.
      
       * Hexagon optimized kernels copied from https://source.codeaurora.org/quic/embedded_ai/tensorflow at 2d052806c211144875c89315a4fc6f1393064cf6
       * Changed the include paths and directory structure a bit.
       * Modified Makefile to allow optimized kernels to be in a separate directory
       * Path to the Hexagon lib is now specified on the command line.
      
      Verified that the optimized kernels are properly built and linked with:
      
      ```
      make -f tensorflow/lite/micro/tools/make/Makefile TARGET=hexagon OPTIMIZED_KERNEL_DIR=hexagon OPTIMIZED_KERNEL_DIR_PREFIX=third_party HEXAGON_TFLM_LIB=~/Qualcomm/tflm_google/hexagon_tflm_core.a  -j8 run_keyword_benchmark
      ```
      
      Gives:
      ```
      KeywordRunNIerations(1) took 52608 ticks (52 ms)
      ```
      
      Whereas reference kernels with:
      ```
      make -f tensorflow/lite/micro/tools/make/Makefile TARGET=hexagon  -j8 run_keyword_benchmark
      ```
      
      Gives:
      ```
      KeywordRunNIerations(1) took 110248 ticks (110 ms)
      ```
      
      BUG=http://b/190754463
      
      * enable code style checks for third_party as well.
      
      * clang-formatted the hexagon kernels.
      
      * Rename to keep scope focused on what we currently need.
      217ad9fc
  2. 15 6月, 2021 2 次提交
  3. 14 6月, 2021 1 次提交
  4. 11 6月, 2021 1 次提交
  5. 10 6月, 2021 5 次提交
  6. 09 6月, 2021 2 次提交
    • M
      Revert "Revert: PR #48758: TFLM: Remove uint8 support for CMSIS-NN ke… (#109) · 0afb62f9
      Måns Nilsson 提交于
      * Revert "Revert: PR #48758: TFLM: Remove uint8 support for CMSIS-NN kernels"
      
      This reverts commit 6d8a184710164c7bcc41d3bd29fe4ef46836b6c9.
      
      * TFLM: Increase stack size for bluepill
      
      Change-Id: Ie278c6fff55cc620104c69167273a92a2d8e639a
      
      * Update PPD unit test
      
      * Remove leftovers from when PPD supported dynamic output dimensions.
      * Correct number of output elements.
      * Correct number of input elements for last unit test.
      
      Change-Id: I66fd36d7eb48816986450033bc83c6b240d559b6
      
      * Revert "TFLM: Increase stack size for bluepill"
      
      This reverts commit c7fc2a0e0f16d2ab10c44389033822503c178e69.
      
      With the fix to the PPD unit test from
      6e39d12d7688143bd17acb2c5d422385baef9e0f, increasing the bluepill stack
      size should not be necessary.
      
      * Fix circular buffer formatting.
      
      The CI check for clang-format needs to be fixed.
      Co-authored-by: NAdvait Jain <advaitjain@google.com>
      Co-authored-by: NAdvait Jain <advaitjain@users.noreply.github.com>
      0afb62f9
    • M
      change special case logic for music-break model (#142) · f6ad9f42
      mike dooley 提交于
      support both 2 second and 4 second input size models
      f6ad9f42
  7. 08 6月, 2021 5 次提交
  8. 05 6月, 2021 3 次提交
  9. 04 6月, 2021 5 次提交
  10. 03 6月, 2021 3 次提交
  11. 02 6月, 2021 2 次提交
  12. 28 5月, 2021 3 次提交
  13. 27 5月, 2021 2 次提交
  14. 26 5月, 2021 1 次提交
  15. 25 5月, 2021 4 次提交