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 1 次提交
  3. 05 8月, 2021 1 次提交
  4. 03 8月, 2021 1 次提交
    • 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
  5. 28 7月, 2021 5 次提交
  6. 27 7月, 2021 2 次提交
  7. 24 7月, 2021 2 次提交
  8. 23 7月, 2021 3 次提交
    • 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 1 次提交
  10. 17 7月, 2021 1 次提交
  11. 15 7月, 2021 1 次提交
  12. 14 7月, 2021 1 次提交
  13. 13 7月, 2021 1 次提交
  14. 10 7月, 2021 1 次提交
  15. 09 7月, 2021 3 次提交
  16. 08 7月, 2021 1 次提交
  17. 02 7月, 2021 1 次提交
  18. 30 6月, 2021 1 次提交
  19. 26 6月, 2021 1 次提交
  20. 25 6月, 2021 1 次提交
  21. 22 6月, 2021 3 次提交
  22. 19 6月, 2021 1 次提交
  23. 18 6月, 2021 2 次提交
    • A
      Explicitly build all targets with bazel as part of CI. (#196) · 3ebcc8a2
      Advait Jain 提交于
      * Explicitly build all targets with bazel as part of CI.
      
      With #194 we removed the build_test targets. We are instead going to
      explicitly have a bazel build command as part of the CI checks.
      
      * fix typo
      3ebcc8a2
    • F
      Add Arm Compiler 6 support to Corstone-300 target (#175) · f70e9b2e
      Fredrik Knutsson 提交于
      * Put location variables before target .inc's are included
      
      They can be useful in the target .inc
      
      Change-Id: I0ee3f77f79be272f4dc3502fb4a38017d8162fa1
      
      * Add ARMC6 compiler support for Corstone-300 target
      
        * Use fromelf instead of objcopy for armclang toolchain when
          generating a binary
        * Add ARMC6 linker and build flags to the Corstone-330 target
        * Add RETARGET macro in patch script to avoid undefined symbol
          build error for ARMC6.
        * Use a reduced set of Cortex-M CPU's for easier maintenance.
      
      Change-Id: Id9a20d57fa4fa0f1339f44523417e2dabfe7e152
      
      * Review comment - Override exit symbol only for GCC
      
      Change-Id: I93628c92ee352f36c7e7dd99351e4a73c29a8d30
      
      * Review comment - Change how to pass linker options for ARMC6
      
      Change-Id: Iacec5a6df6902bc8a14f460d63ae917039f982cc
      
      * Review comment - correct the upmerge
      
      Change-Id: I9a250f6a444336f9b95428a126a94a18f40060dc
      Co-authored-by: NAdvait Jain <advaitjain@users.noreply.github.com>
      f70e9b2e
  24. 17 6月, 2021 2 次提交