diff options
author | Nupur Garg <nupurgarg@google.com> | 2018-06-20 14:11:14 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-06-20 14:15:19 -0700 |
commit | 164099ee4688432d614c754b1e01d56715811062 (patch) | |
tree | dfbc464a9551592e1f7322b0a8ba89d55b2fa3ed /tensorflow/contrib/makefile | |
parent | 7ec196c4a28352008d0c947e4a0f0bb404953f98 (diff) |
Add warning in TFMobile.
PiperOrigin-RevId: 201413517
Diffstat (limited to 'tensorflow/contrib/makefile')
-rwxr-xr-x | tensorflow/contrib/makefile/build_all_android.sh | 8 | ||||
-rwxr-xr-x | tensorflow/contrib/makefile/build_all_ios.sh | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tensorflow/contrib/makefile/build_all_android.sh b/tensorflow/contrib/makefile/build_all_android.sh index fc88f59e09..fb9e77ae1b 100755 --- a/tensorflow/contrib/makefile/build_all_android.sh +++ b/tensorflow/contrib/makefile/build_all_android.sh @@ -30,6 +30,14 @@ arm64-v8a armeabi armeabi-v7a mips mips64 x86 x86_64 tegra)" exit 1 } +echo "********************************************************************" +echo "TensorFlow Lite is the recommended library for mobile and embedded machine learning inference." +echo "You are currently using an older version. Please switch over to TensorFlow Lite." +echo "" +echo "Link to the code: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/lite" +echo "********************************************************************" +echo "" + if [[ -z "${NDK_ROOT}" ]]; then echo "NDK_ROOT should be set as an environment variable" 1>&2 exit 1 diff --git a/tensorflow/contrib/makefile/build_all_ios.sh b/tensorflow/contrib/makefile/build_all_ios.sh index 0a458a27b3..1d4677ef4b 100755 --- a/tensorflow/contrib/makefile/build_all_ios.sh +++ b/tensorflow/contrib/makefile/build_all_ios.sh @@ -31,6 +31,14 @@ usage() { exit 1 } +echo "********************************************************************" +echo "TensorFlow Lite is the recommended library for mobile and embedded machine learning inference." +echo "You are currently using an older version. Please switch over to TensorFlow Lite." +echo "" +echo "Link to the code: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/lite" +echo "********************************************************************" +echo "" + DEFAULT_ARCH="i386 x86_64 armv7 armv7s arm64" while getopts "a:g:T" opt_name; do case "$opt_name" in |