1. 07 8月, 2021 3 次提交
    • D
      Add a new test case for conv operator (#329) (#377) · 751b36c5
      deqiangc 提交于
      * Add a new test case for conv operator (#329)
      
      This new test case is based on issue #329 to increase
      coverage on optimized kernel's data precision for conv operator.
      In this test, input, output and filter are all 8 bits and filter
      tensor is of dimension 8x3x3x3 with different scales per output channel.
      
      TESTED= local test with x86 and HiFi4.
      
      * Move large test data variable into its own folder
      and use one flat top namespace instead of nested namespace.
      
      BUG=195779890
      751b36c5
    • D
      Fix cortex_m_generic makefile (#376) · 44353712
      David Davis 提交于
      * Add files from TfLite
      
      Added batch_matmul.h and tensor_utils_common.h that are needed for the BATCH_MATMUL operator.
      
      * Arduino library creation for CI build.
      Issue# 256
      
      * fix bug with include file path flattening
      
      * fix examples path generation
      
      Some files in examples source and headers list are not in the examples directory.  They can be tensorflow files or third-party files.  The code is corrected so that these files end up inside the generated directory tree.  Previously, these files were being placed outside the generated directory tree and were thus invisible to follow-on targeted generation scripts.
      
      * remove/revert files that go into the arduino-examples repo
      
      * Format with:
      
      ```
      tensorflow/lite/micro/tools/ci_build/test_code_style.sh --fix_formatting
      ```
      
      * request changes to PR
      
      * Removed symbolic link for micro_speech example from Makefile.
      Added additional include flags to Makefile.
      Adjusted header file transformations during base tree creation.
      
      * Fix formatting.
      
      * Move Arduino specific code to seperate repo
      
      Remove ARDUINO defines.
      Fix incorrect NDEBUG use.
      
      Issue  #256
      
      * Fix cortex_m_generic makefile
      
      Fix typo in cortex_m_generic makefile so that the correct list of header files is generated by the create_tflm_tree.py script.
      
      bug=Arduino library creation external to the tflite-micro repository #256
      Co-authored-by: NAdvait Jain <advaitjain@users.noreply.github.com>
      Co-authored-by: NAdvait Jain <advaitjain@google.com>
      44353712
    • A
      Fixed ARC projects and library generation. (#371) · 6b8b699e
      Artem Tsvetkov 提交于
      6b8b699e
  2. 06 8月, 2021 3 次提交
    • D
      Move Arduino specific code to seperate repo (#369) · 8d43320b
      David Davis 提交于
      * Add files from TfLite
      
      Added batch_matmul.h and tensor_utils_common.h that are needed for the BATCH_MATMUL operator.
      
      * Arduino library creation for CI build.
      Issue# 256
      
      * fix bug with include file path flattening
      
      * fix examples path generation
      
      Some files in examples source and headers list are not in the examples directory.  They can be tensorflow files or third-party files.  The code is corrected so that these files end up inside the generated directory tree.  Previously, these files were being placed outside the generated directory tree and were thus invisible to follow-on targeted generation scripts.
      
      * remove/revert files that go into the arduino-examples repo
      
      * Format with:
      
      ```
      tensorflow/lite/micro/tools/ci_build/test_code_style.sh --fix_formatting
      ```
      
      * request changes to PR
      
      * Removed symbolic link for micro_speech example from Makefile.
      Added additional include flags to Makefile.
      Adjusted header file transformations during base tree creation.
      
      * Fix formatting.
      
      * Move Arduino specific code to seperate repo
      
      Remove ARDUINO defines.
      Fix incorrect NDEBUG use.
      
      Issue  #256
      Co-authored-by: NAdvait Jain <advaitjain@users.noreply.github.com>
      Co-authored-by: NAdvait Jain <advaitjain@google.com>
      8d43320b
    • T
      Automated sync from github.com/tensorflow/tensorflow (#343) · d97cd090
      TFLM-bot 提交于
      * Sync from upstream TF.
      
      * Fix build errors.
      
      * more fixes.
      
      * one more fix.
      Co-authored-by: NAdvait Jain <advaitjain@google.com>
      d97cd090
    • N
      bd0df04a
  3. 05 8月, 2021 1 次提交
  4. 03 8月, 2021 3 次提交
    • A
    • D
      Arduino python (#257) · 06c91f42
      David Davis 提交于
      * Add files from TfLite
      
      Added batch_matmul.h and tensor_utils_common.h that are needed for the BATCH_MATMUL operator.
      
      * Arduino library creation for CI build.
      Issue# 256
      
      * fix bug with include file path flattening
      
      * fix examples path generation
      
      Some files in examples source and headers list are not in the examples directory.  They can be tensorflow files or third-party files.  The code is corrected so that these files end up inside the generated directory tree.  Previously, these files were being placed outside the generated directory tree and were thus invisible to follow-on targeted generation scripts.
      
      * remove/revert files that go into the arduino-examples repo
      
      * Format with:
      
      ```
      tensorflow/lite/micro/tools/ci_build/test_code_style.sh --fix_formatting
      ```
      
      * request changes to PR
      
      * Removed symbolic link for micro_speech example from Makefile.
      Added additional include flags to Makefile.
      Adjusted header file transformations during base tree creation.
      Co-authored-by: NAdvait Jain <advaitjain@users.noreply.github.com>
      Co-authored-by: NAdvait Jain <advaitjain@google.com>
      06c91f42
    • L
      Fix example Zephyr build (#333) · fa4bbc7b
      Lauren Murphy 提交于
      On commit 5c7c11e of the tensorflow repo at
      tensorflow/lite/micro/tools/make/Makefile:664, MICROLITE_CC_SRCS contains
      MICROLITE_CC_KERNEL_SRCS. In the new tflite-micro repo, it does not contain
      MICROLITE_CC_KERNEL_SRCS. This commit adds MICROLITE_CC_KERNEL_SRCS to
      tensorflow/lite/micro/examples/hello_world/zephyr_riscv/Makefile.inc
      so that the generated Zephyr CMakeLists.txt doesn't miss these files.
      
      Similar fix made to corresponding file for magic_wand sample.
      Signed-off-by: NLauren Murphy <lauren.murphy@intel.com>
      Co-authored-by: NAdvait Jain <advaitjain@users.noreply.github.com>
      fa4bbc7b
  5. 28 7月, 2021 6 次提交
  6. 27 7月, 2021 3 次提交
  7. 24 7月, 2021 2 次提交
  8. 23 7月, 2021 4 次提交
    • P
      Port int16 support to Mean kernel (#250) · 5124fe33
      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>
      5124fe33
    • A
      Turn on Python formatting checks as part of CI. (#316) · 43265614
      Advait Jain 提交于
      * Groundwork to enable python format checks (via yapf) as part of the CI.
      
      With this change:
       * we are set up to use yapf as part of the docker container
       * pigweed patch is updated to use the google Python style (pep8 with indent of 2 spaces)
       * some documentation updates.
      
      The code still needs to be formatted, and then the Python formatting check will be turned on as part of ci.
      
      BUG=http://b/194404216
      
      * Format all the code.
      
      Once this change is merged, we will turn on Python formatting check as
      part of the CI.
      
      * minor formatting update.
      
      * Turn on Python formatting checks as part of CI.
      
      Also, add an option to fix the formatting via the test_code_style.sh
      script.
      
      BUG=http://b/194404984 and http://b/194404216
      43265614
    • A
      Format all the code (#315) · 0315e685
      Advait Jain 提交于
      * Groundwork to enable python format checks (via yapf) as part of the CI.
      
      With this change:
       * we are set up to use yapf as part of the docker container
       * pigweed patch is updated to use the google Python style (pep8 with indent of 2 spaces)
       * some documentation updates.
      
      The code still needs to be formatted, and then the Python formatting check will be turned on as part of ci.
      
      BUG=http://b/194404216
      
      * Format all the code.
      
      Once this change is merged, we will turn on Python formatting check as
      part of the CI.
      
      * minor formatting update.
      0315e685
    • A
      Groundwork to enable python format checks (via yapf) as part of the CI. (#314) · 762ff800
      Advait Jain 提交于
      With this change:
       * we are set up to use yapf as part of the docker container
       * pigweed patch is updated to use the google Python style (pep8 with indent of 2 spaces)
       * some documentation updates.
      
      The code still needs to be formatted, and then the Python formatting check will be turned on as part of ci.
      
      BUG=http://b/194404216
      762ff800
  9. 21 7月, 2021 3 次提交
  10. 17 7月, 2021 2 次提交
  11. 16 7月, 2021 3 次提交
  12. 15 7月, 2021 3 次提交
  13. 14 7月, 2021 2 次提交
  14. 13 7月, 2021 2 次提交