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 --- .../input.h | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 applications/baremetal/models/ethos-u55-64/keyword_spotting_ds_cnn_large_clustered_int8/input.h (limited to 'applications/baremetal/models/ethos-u55-64/keyword_spotting_ds_cnn_large_clustered_int8/input.h') diff --git a/applications/baremetal/models/ethos-u55-64/keyword_spotting_ds_cnn_large_clustered_int8/input.h b/applications/baremetal/models/ethos-u55-64/keyword_spotting_ds_cnn_large_clustered_int8/input.h new file mode 100644 index 0000000..23ce787 --- /dev/null +++ b/applications/baremetal/models/ethos-u55-64/keyword_spotting_ds_cnn_large_clustered_int8/input.h @@ -0,0 +1,52 @@ +/* + * 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_ds_cnn_large_clustered_int8 + * Source: https://github.com/ARM-software/ML-zoo/tree/master/models/keyword_spotting/ds_cnn_large/tflite_clustered_int8 + * Hexdump: python3 -c 'import numpy;i=numpy.load("input.npy");i.tofile("input.bin");' && xxd -i input.bin > input.h + ******************************************************************************************************************/ + +unsigned char inputData[] __attribute__((aligned(16), section("input_data_sec"))) = { + 0x2c, 0x8a, 0xff, 0x0c, 0xaf, 0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