1. 25 8月, 2021 1 次提交
  2. 20 8月, 2021 1 次提交
  3. 12 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 1 次提交
  6. 23 7月, 2021 1 次提交
    • 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
  7. 15 7月, 2021 1 次提交
  8. 16 6月, 2021 1 次提交
    • N
      Separate core, kernel and third party objects. (#168) · 6b799b7d
      Nat Jeffries 提交于
      * Separate core, kernel and third party objects.
      
      Add a second optimization level in the Makefile to enable different
      levels between kernels and the rest of the TFLM code. This results in a
      smaller binary with minimal performance impact compared with using a
      single optimization level.
      
      Allows the use of implicit patterns to compile all sources, choosing
      different flags for core, kernel and third party sources.
      
      The following measurements are taken using the hexagon toolchain +
      hexagon-size and hexagon-sim.
      
      For the keyword benchmark using -O2:
         text    data     bss     dec
        58140   37639   46612  142391
      
        Cycles: 1700364
      
      For the keyword benchmark using -O2 for kernels and -Oz for framework:
         text    data     bss     dec
        52796   37623   46612  137031
      
        Cycles: 1759664
      
      * Make the optimization level log an error.
      
      Remove OPTIMIZATION_LEVEL setting for bluepill since core framework now automatically is compiled with -Os.
      
      * Remove section that builds bluepill with -Os since default uses -Os.
      
      * Disable -Werror=vla in order to pass stm32 bare lib presubmit.
      
      * Chnage order so that -Wno-vla takes priority over -Wvla
      Co-authored-by: NAdvait Jain <advaitjain@users.noreply.github.com>
      6b799b7d
  9. 05 6月, 2021 1 次提交
  10. 04 6月, 2021 1 次提交
  11. 02 6月, 2021 1 次提交
  12. 27 5月, 2021 1 次提交