forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Java: Provide the Java API in the Android inference library.
A couple of things here: (1) Avoid use of "try-with-resources" blocks in the Java API implementation, as older versions of Android (minSdkVersion < 19) do not support this. While we remove the use of such blocks in the implementation, the documentation and examples still advocate the use of try-with-resources, which should be used when possible (JDK 7, Android API >= 19) (2) Include the Java sources in the Android Inference Library. This allows a .aar file to be built that contains both the TensorFlowInferenceInterface and the full Java API. Making transition from one to the other easier. Another step in the journey that is tensorflow#5 Change: 145361038
- Loading branch information
1 parent
9b7c47c
commit cd4a964
Showing
6 changed files
with
111 additions
and
24 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
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
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
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
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
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