Commit graph

10 commits

Author SHA1 Message Date
Advait Jain
70d160ae53
Remove some of the hardware specific code that has not been updated for a while. (#502)
We are moving towards removing ***all*** hardware-specific example code
out of the TFLM repository, and this PR is a step in that direction.

BUG=https://github.com/tensorflow/tflite-micro/issues/407
2021-09-13 21:34:43 +00:00
Shlomi Regev
f75696cb9e
Some improvements to build scripts (#481)
1. Add TENSORFLOW_ROOT as a prefix to paths in helper_functions.inc. This enables us to include this file from an external directory. Useful when building a custom op library.
2. Add a script size_hexagon_binary.sh to measure the size of a Hexagon binary, and a matching make macro/rule to invoke it. Similar scripts can be created for any target.
3. Lint fixes to generate_cc_array.py
4. Move HEXAGON_TFLM_LIB from the ext_lib makefile to
hexagon_makefile.inc. This library is needed by any binary, so it
belongs on the LDFLAGS.

Co-authored-by: Advait Jain <advaitjain@users.noreply.github.com>
2021-09-07 17:10:57 +00:00
Advait Jain
169a27b204
Add reason for disabling the layering check. (#441)
And restore -layering_check to a few places where it got removed with https://github.com/tensorflow/tflite-micro/pull/435/

BUG=http://b/177257332
2021-08-19 18:42:19 +00:00
Advait Jain
0315e685f1
Format all the code (#315)
* 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.
2021-07-22 21:37:41 +00:00
Advait Jain
9a325cf58a
Update visibility to include all folders in the repository. (#179)
This is the OSS counterpart for http://cl/379367435

BUG=http://b/191077991
2021-06-16 21:37:39 +00:00
TFLM-bot
9ea43319aa
Automated sync from github.com/tensorflow/tensorflow (#110) 2021-06-01 20:01:47 +00:00
TFLM-bot
f537895fef
Sync from upstream TF. (#90) 2021-05-21 07:46:24 -07:00
Advait Jain
8da1c45d7a
Allow for differences in internal and external bzl rules. (#73)
Progress towards http://b/187830287
2021-05-14 23:43:48 +00:00
TFLM-bot
3bc6526a2b
Automated sync from github.com/tensorflow/tensorflow (#67) 2021-05-05 20:34:41 +00:00
Advait Jain
a37043ff7a
Manually sync'd code from upstream TF. (#2)
Confirmed that the following command passes:
```
./tensorflow/lite/micro/tools/ci_build/test_all_new.sh GITHUB_PRESUBMIT
```
2021-04-09 11:17:58 -07:00