Commit graph

6 commits

Author SHA1 Message Date
TFLM-bot
37fb41f371
Automated sync from github.com/tensorflow/tensorflow (#3214)
* Sync from upstream TF.

* Manual change from cl/819821231

* Fix

* Copyright

---------

Co-authored-by: Esun Kim <veblush@google.com>
2025-10-16 14:33:56 -07:00
TFLM-bot
f60e4fa400
Automated sync from github.com/tensorflow/tensorflow (#3124)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2025-07-08 19:28:19 +00:00
TFLM-bot
eacc122d91
Automated sync from github.com/tensorflow/tensorflow
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2022-08-09 06:35:06 +00:00
TFLM-bot
0c8c12342c
Automated sync from github.com/tensorflow/tensorflow (#1225)
* Sync from upstream TF.

* Generate C++ bindings for schema as part of the import.

Co-authored-by: Advait Jain <advaitjain@users.noreply.github.com>
Co-authored-by: Advait Jain <advaitjain@google.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-07-21 09:59:11 +00:00
Advait Jain
e958bb1161
Allow using Python scripts without bazel. (#639)
* Allow using Python scripts without bazel.

Manually verified and documented the steps that I can follow to run
Python code without Bazel.

BUG=http://b/204109200
NO_CHECK_TFLITE_FILES=manually ran the sync script.

* Address review comments.
2021-10-29 14:40:24 -07:00
Advait Jain
be7f88c81a
Sync additional Python flatbuffer utils from Tensorflow (#635)
Sync additional Python flatbuffer utils from Tensorflow.

 * strip_strings
 * visualize

Manually confirmed that I can strip strings and visualize from the TFLM repo:

```
bazel build tensorflow/lite/tools:strip_strings
bazel build tensorflow/lite/tools:visualize

bazel-bin/tensorflow/lite/tools/strip_strings --input_tflite_file tensorflow/lite/micro/models/person_detect.tflite --output_tflite_file tensorflow/lite/micro/models/person_detect.strip_strings.tflite
bazel-bin/tensorflow/lite/tools/visualize tensorflow/lite/micro/models/person_detect.strip_strings.tflite tensorflow/lite/micro/models/person_detect.strip_strings.tflite.html
```

Additionally, this changes switches the bazel build to use tensorflow-cpu to avoid CUDA not found warnings.

BUG=http://b/204109200
2021-10-28 23:15:35 +00:00