forked from boncheolgu/tflite-rs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding submodules so downloads aren't required, which will speed up build times and get builds working on docs.rs * Committing downloads. Removing custom make files. * Adding a note about how to update downloads in CONTRIBUTING.md * Undo formatting changes to src * Make bart dependencies optional. Rustfmt build.rs. Make debug_tflite feature more portable * Downgraded tensorflow to correct commit. Now it compiles. * Fixing flatbuffers.h for compilation * Fix build failure with generate_model_apis * Changing to submodule * Changed to submodule for downloads * Fixing update-downloads to respect downloads submodule
- Loading branch information
1 parent
ccdc351
commit 7f759f7
Showing
8 changed files
with
251 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule "submodules/tensorflow"] | ||
path = submodules/tensorflow | ||
url = https://github.com/tensorflow/tensorflow.git | ||
[submodule "submodules/downloads"] | ||
path = submodules/downloads | ||
url = https://github.com/tylerhawkes/tflite-rs-downloads |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
tflite now includes the tensorflow git repository as a submodule | ||
along with the results of calling `download_dependencies.sh`. | ||
This reduces the number of build steps from ~260 to less than 100. | ||
If the version of tensorflow is ever updated, `submodules/update-downloads.sh` | ||
should also be updated if necessary and called. It removes most of the | ||
files that are obviously not necessary since they all get committed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.