diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2023-04-27 12:02:08 +0100 |
---|---|---|
committer | Nikhil Raj Arm <nikhil.raj@arm.com> | 2023-05-03 14:12:01 +0000 |
commit | 4429dab3c277ac7b230efc1c293204874f5a286c (patch) | |
tree | 47ccab3b718f227a54279a3bdc631927f4212b71 /scripts | |
parent | 8314e3e2dfe2ae22f26f25c172a233c17bba2477 (diff) | |
download | armnn-4429dab3c277ac7b230efc1c293204874f5a286c.tar.gz |
IVGCVSW-7528 Update Arm NN documentation to reflect use of Tensorflow 2.12
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ib3aaba6d2bbe52978fc3e8873c78e4c2989131ed
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build_android_ndk_guide.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/build_android_ndk_guide.sh b/scripts/build_android_ndk_guide.sh index a7fd674bfa..7f7621862e 100755 --- a/scripts/build_android_ndk_guide.sh +++ b/scripts/build_android_ndk_guide.sh @@ -210,7 +210,7 @@ function GetAndBuildComputeLibrary { } function GetAndBuildTFLite { - TENSORFLOW_REVISION="tags/v2.10.0" # Release 2.10.0 tag + TENSORFLOW_REVISION="6f692f73cb2043b4a0b0446539cd8c15b3dd9220" # TF r2.12 + PR #60015 to fix Cmake build. TFLITE_ROOT_DIR=${WORKING_DIR}/tensorflow/tensorflow/lite cd $WORKING_DIR @@ -231,7 +231,10 @@ function GetAndBuildTFLite { cd $WORKING_DIR fi - CMARGS="-DTFLITE_ENABLE_XNNPACK=OFF" + CMARGS="-DTFLITE_ENABLE_XNNPACK=OFF \ + -DFLATBUFFERS_BUILD_FLATC=OFF \ + -DBUILD_SHARED_LIBS=OFF \ + -DBUILD_TESTING=OFF" # Two different naming conventions; one for build and the other for CC_OPT_FLAGS ANDROID_ARM_ARCH="arm64-v8a" @@ -303,7 +306,8 @@ function BuildArmNN { -DBUILD_ARMNN_TFLITE_DELEGATE=1 \ -DTENSORFLOW_ROOT=$WORKING_DIR/tensorflow \ -DTFLITE_LIB_ROOT=$WORKING_DIR/tflite-out/android \ - -DTFLITE_ROOT_DIR=$WORKING_DIR/tensorflow/tensorflow/lite" + -DTFLITE_ROOT_DIR=$WORKING_DIR/tensorflow/tensorflow/lite \ + -DBUILD_DELEGATE_JNI_INTERFACE=0" fi if [[ $DYNAMIC_SAMPLE == 1 ]]; then |