summaryrefslogtreecommitdiff
path: root/infra/scripts/test_arm_neurun_mixed.sh
diff options
context:
space:
mode:
Diffstat (limited to 'infra/scripts/test_arm_neurun_mixed.sh')
-rwxr-xr-xinfra/scripts/test_arm_neurun_mixed.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/infra/scripts/test_arm_neurun_mixed.sh b/infra/scripts/test_arm_neurun_mixed.sh
deleted file mode 100755
index de141c5a0..000000000
--- a/infra/scripts/test_arm_neurun_mixed.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-set -eo pipefail
-source "$(dirname "${BASH_SOURCE[0]}")/common.sh"
-
-CheckTestPrepared
-
-pushd ${ROOT_PATH}
-
-# NOTE Fixed backend assignment by type of operation
-# TODO Enhance this with randomized test
-BACKENDS=(cpu acl_neon acl_cl)
-
-# Get the intersect of framework test list files
-TESTLIST_PREFIX="tests/scripts/list/neurun_frameworktest_list.armv7l"
-cat $TESTLIST_PREFIX.${BACKENDS[0]}.txt | sort > $TESTLIST_PREFIX.intersect.txt
-for BACKEND in "${BACKENDS[@]}"; do
- comm -12 <(sort $TESTLIST_PREFIX.intersect.txt) <(sort $TESTLIST_PREFIX.$BACKEND.txt) > $TESTLIST_PREFIX.intersect.next.txt
- mv $TESTLIST_PREFIX.intersect.next.txt $TESTLIST_PREFIX.intersect.txt
-done
-popd > /dev/null
-
-# Run the test
-export OP_BACKEND_Conv2D="cpu"
-export OP_BACKEND_MaxPool2D="acl_cl"
-export OP_BACKEND_AvgPool2D="acl_neon"
-export ACL_LAYOUT="NCHW"
-export NCNN_LAYOUT="NCHW"
-Unittests "acl_cl;acl_neon;cpu" "Product/out/unittest/nnapi_gtest.skip.armv7l-linux" "report/mixed"
-TFLiteModelVerification "acl_cl;acl_neon;cpu" "${TESTLIST_PREFIX}.intersect.txt" "report/mixed"