Commit Graph

6 Commits

Author SHA1 Message Date
RJ Ascani 8137a35b88 Replace tensorflow-cpu usage with tensorflow (#2396)
The tensorflow-cpu package does not support MacOS or non-x86 hardware. Replacing the tensorflow-cpu python package requirement with the tensorflow meta package should enable the bazel build and the dependent python scripts to be used on those platforms.

BUG=#2367, #1781
2026-04-20 14:48:01 +08:00
suleshahid 54a86ad082
Cleanup on the flatbuffer update.
This is to cleanup some code after the latest flatbuffer version update PR.
* Update build targets in schema files to only have the original builds, :schema_fbs and :schema_py.
* Fix checking in of schema in nightly sync.
* Remove unneeded lines (of a deleted file) in copyright and license checks.


Bugs:
BUG= [243587789](https://buganizer.corp.google.com/issues/243587789)
BUG= [243588297](https://buganizer.corp.google.com/issues/243588297)
BUG= [243716132](https://buganizer.corp.google.com/issues/243716132)
2022-08-26 00:03:26 +00:00
suleshahid 1e74475fde
Update Flatbuffer version to 2.0.6 and generate schema local. (#1374) 2022-08-25 18:01:35 +00:00
deqiangc c6f54bd463
Fix BUILD dependency for generate_per_layer_tests script (#666) 2021-11-09 21:51:20 +00:00
Advait Jain e77f57733f
Sync schema_util.py from TF to TFLM. (#652)
This is needed to properly access the builtin code.

BUG=http://b/204109200
NO_CHECK_TFLITE_FILES=manually sync'd the code
2021-11-03 18:56:30 +00:00
Advait Jain 05694f8c38
Add flatbuffer_utils and corresponding test to the bazel build. (#632)
This is the first step towards being able to manipulate flatbuffers from
Python from the TFLM github repository.

Manually confirmed that the following command works:
```
bazel test tensorflow/lite/tools:flatbuffer_utils_test
```

Note that the code that is sync'd from TF needs to have an updated
import path and we have changed the sync script to perform this
transformation.

These python tests will also be run as part of the bazel CI.

BUG=http://b/204109200
2021-10-28 15:57:34 -07:00