From 52fddd00d0eb547d41074046c9f587a3a0679298 Mon Sep 17 00:00:00 2001 From: Lior Dekel Date: Mon, 4 Oct 2021 19:15:24 +0300 Subject: NPU configuration support update in relevant apps. Bare metal app - added all the configurations for the different NPUs. FreeRTOS app and driver_unit_conv test - excluded all NPU configurations except ethos-u55-128. Change-Id: I6f69526613cd18c572af1186e5997816fad246b4 --- .../keyword_spotting_cnn_small_int8/output.h | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 applications/baremetal/models/ethos-u65-512/keyword_spotting_cnn_small_int8/output.h (limited to 'applications/baremetal/models/ethos-u65-512/keyword_spotting_cnn_small_int8/output.h') diff --git a/applications/baremetal/models/ethos-u65-512/keyword_spotting_cnn_small_int8/output.h b/applications/baremetal/models/ethos-u65-512/keyword_spotting_cnn_small_int8/output.h new file mode 100644 index 0000000..1713789 --- /dev/null +++ b/applications/baremetal/models/ethos-u65-512/keyword_spotting_cnn_small_int8/output.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2021 Arm Limited. All rights reserved. + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the License); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/****************************************************************************************************************** + * Model: keyword_spotting_cnn_small_int8 + * Source: https://github.com/ARM-software/ML-zoo/tree/master/models/keyword_spotting/cnn_small/tflite_int8 + * Hexdump: python3 -c 'import numpy;i=numpy.load("output.npy");i.tofile("output.bin");' && xxd -i output.bin > output.h + ******************************************************************************************************************/ + +unsigned char expectedOutputData[] __attribute__((aligned(16), section("expected_output_data_sec"))) = { + 0x00, 0x00, 0xbc, 0x3e, 0x00, 0x00, 0x90, 0x3d, 0x00, 0x00, 0x90, 0x3d, 0x00, 0x00, 0x40, 0x3c, + 0x00, 0x00, 0x80, 0x3b, 0x00, 0x00, 0xb8, 0x3d, 0x00, 0x00, 0x00, 0x3d, 0x00, 0x00, 0x90, 0x3d, + 0x00, 0x00, 0x80, 0x3b, 0x00, 0x00, 0x80, 0x3b, 0x00, 0x00, 0x90, 0x3d, 0x00, 0x00, 0x4c, 0x3e}; \ No newline at end of file -- cgit v1.2.1