Anton Moberg | d121356 | 2021-03-17 15:45:27 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2021 Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: Apache-2.0 |
| 5 | * |
| 6 | * Licensed under the Apache License, Version 2.0 (the License); you may |
| 7 | * not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT |
| 14 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | */ |
| 18 | |
| 19 | /****************************************************************************************************************** |
| 20 | * Model: keyword_spotting_dnn_medium_int8 |
Lior Dekel | 52fddd0 | 2021-10-04 19:15:24 +0300 | [diff] [blame] | 21 | * Source: https://github.com/ARM-software/ML-zoo/tree/master/models/keyword_spotting/dnn_medium/tflite_int8 |
Anton Moberg | d121356 | 2021-03-17 15:45:27 +0100 | [diff] [blame] | 22 | * Hexdump: python3 -c 'import numpy;i=numpy.load("input.npy");i.tofile("input.bin");' && xxd -i input.bin > input.h |
| 23 | ******************************************************************************************************************/ |
| 24 | |
| 25 | unsigned char inputData[1000] __attribute__((aligned(16), section("input_data_sec"))) = { |
| 26 | 0x00, 0x00, 0x6f, 0x43, 0x00, 0x00, 0x8e, 0x42, 0x00, 0x00, 0x6b, 0x43, 0x00, 0x00, 0x27, 0x43, 0x00, 0x00, 0xb4, |
| 27 | 0x42, 0x00, 0x00, 0xc6, 0x42, 0x00, 0x00, 0x47, 0x43, 0x00, 0x00, 0x7a, 0x43, 0x00, 0x00, 0x3e, 0x43, 0x00, 0x00, |
| 28 | 0x6c, 0x42, 0x00, 0x00, 0x3b, 0x43, 0x00, 0x00, 0x78, 0x42, 0x00, 0x00, 0x9a, 0x42, 0x00, 0x00, 0x8c, 0x42, 0x00, |
| 29 | 0x00, 0x50, 0x43, 0x00, 0x00, 0x53, 0x43, 0x00, 0x00, 0x6e, 0x43, 0x00, 0x00, 0x17, 0x43, 0x00, 0x00, 0x48, 0x42, |
| 30 | 0x00, 0x00, 0xd2, 0x42, 0x00, 0x00, 0x62, 0x43, 0x00, 0x00, 0x1a, 0x43, 0x00, 0x00, 0x1b, 0x43, 0x00, 0x00, 0x60, |
| 31 | 0x41, 0x00, 0x00, 0x70, 0x42, 0x00, 0x00, 0x50, 0x42, 0x00, 0x00, 0x08, 0x43, 0x00, 0x00, 0x18, 0x43, 0x00, 0x00, |
| 32 | 0xce, 0x42, 0x00, 0x00, 0xae, 0x42, 0x00, 0x00, 0x96, 0x42, 0x00, 0x00, 0x38, 0x43, 0x00, 0x00, 0xcc, 0x42, 0x00, |
| 33 | 0x00, 0xc6, 0x42, 0x00, 0x00, 0x5e, 0x43, 0x00, 0x00, 0xe8, 0x41, 0x00, 0x00, 0xd6, 0x42, 0x00, 0x00, 0x6d, 0x43, |
| 34 | 0x00, 0x00, 0xd0, 0x42, 0x00, 0x00, 0x1a, 0x43, 0x00, 0x00, 0xbc, 0x42, 0x00, 0x00, 0x21, 0x43, 0x00, 0x00, 0x6c, |
| 35 | 0x42, 0x00, 0x00, 0x1f, 0x43, 0x00, 0x00, 0x3d, 0x43, 0x00, 0x00, 0x03, 0x43, 0x00, 0x00, 0x44, 0x43, 0x00, 0x00, |
| 36 | 0x2e, 0x43, 0x00, 0x00, 0x98, 0x41, 0x00, 0x00, 0x50, 0x42, 0x00, 0x00, 0x49, 0x43, 0x00, 0x00, 0x2f, 0x43, 0x00, |
| 37 | 0x00, 0xc0, 0x41, 0x00, 0x00, 0x3c, 0x42, 0x00, 0x00, 0x60, 0x41, 0x00, 0x00, 0x25, 0x43, 0x00, 0x00, 0xb4, 0x42, |
| 38 | 0x00, 0x00, 0xe8, 0x42, 0x00, 0x00, 0x28, 0x42, 0x00, 0x00, 0x74, 0x43, 0x00, 0x00, 0x07, 0x43, 0x00, 0x00, 0x09, |
| 39 | 0x43, 0x00, 0x00, 0x32, 0x43, 0x00, 0x00, 0xa0, 0x42, 0x00, 0x00, 0xfa, 0x42, 0x00, 0x00, 0x70, 0x41, 0x00, 0x00, |
| 40 | 0x20, 0x41, 0x00, 0x00, 0x0d, 0x43, 0x00, 0x00, 0x51, 0x43, 0x00, 0x00, 0x4f, 0x43, 0x00, 0x00, 0x50, 0x42, 0x00, |
| 41 | 0x00, 0xda, 0x42, 0x00, 0x00, 0x7e, 0x43, 0x00, 0x00, 0x30, 0x41, 0x00, 0x00, 0x20, 0x43, 0x00, 0x00, 0x80, 0x3f, |
| 42 | 0x00, 0x00, 0x14, 0x42, 0x00, 0x00, 0x79, 0x43, 0x00, 0x00, 0x64, 0x42, 0x00, 0x00, 0x19, 0x43, 0x00, 0x00, 0x14, |
| 43 | 0x43, 0x00, 0x00, 0xfc, 0x42, 0x00, 0x00, 0x4c, 0x43, 0x00, 0x00, 0x48, 0x43, 0x00, 0x00, 0x68, 0x43, 0x00, 0x00, |
| 44 | 0x24, 0x43, 0x00, 0x00, 0x67, 0x43, 0x00, 0x00, 0x9e, 0x42, 0x00, 0x00, 0x20, 0x42, 0x00, 0x00, 0x09, 0x43, 0x00, |
| 45 | 0x00, 0x3d, 0x43, 0x00, 0x00, 0xc0, 0x41, 0x00, 0x00, 0x78, 0x43, 0x00, 0x00, 0x36, 0x43, 0x00, 0x00, 0x1c, 0x43, |
| 46 | 0x00, 0x00, 0x94, 0x42, 0x00, 0x00, 0x9e, 0x42, 0x00, 0x00, 0x13, 0x43, 0x00, 0x00, 0x1a, 0x43, 0x00, 0x00, 0x4c, |
| 47 | 0x43, 0x00, 0x00, 0x1c, 0x43, 0x00, 0x00, 0x50, 0x42, 0x00, 0x00, 0xc6, 0x42, 0x00, 0x00, 0x3d, 0x43, 0x00, 0x00, |
| 48 | 0x1e, 0x43, 0x00, 0x00, 0x38, 0x43, 0x00, 0x00, 0x49, 0x43, 0x00, 0x00, 0xa0, 0x40, 0x00, 0x00, 0xae, 0x42, 0x00, |
| 49 | 0x00, 0x6b, 0x43, 0x00, 0x00, 0x0e, 0x43, 0x00, 0x00, 0x76, 0x43, 0x00, 0x00, 0x40, 0x41, 0x00, 0x00, 0xd8, 0x42, |
| 50 | 0x00, 0x00, 0x66, 0x43, 0x00, 0x00, 0x68, 0x42, 0x00, 0x00, 0x55, 0x43, 0x00, 0x00, 0x6b, 0x43, 0x00, 0x00, 0x3b, |
| 51 | 0x43, 0x00, 0x00, 0x46, 0x43, 0x00, 0x00, 0x88, 0x41, 0x00, 0x00, 0x8a, 0x42, 0x00, 0x00, 0x8a, 0x42, 0x00, 0x00, |
| 52 | 0xf0, 0x42, 0x00, 0x00, 0x5e, 0x43, 0x00, 0x00, 0x7c, 0x42, 0x00, 0x00, 0x50, 0x42, 0x00, 0x00, 0x00, 0x41, 0x00, |
| 53 | 0x00, 0x18, 0x42, 0x00, 0x00, 0x4d, 0x43, 0x00, 0x00, 0x44, 0x42, 0x00, 0x00, 0x3e, 0x43, 0x00, 0x00, 0xe0, 0x42, |
| 54 | 0x00, 0x00, 0xc0, 0x42, 0x00, 0x00, 0x9e, 0x42, 0x00, 0x00, 0xb8, 0x41, 0x00, 0x00, 0x70, 0x43, 0x00, 0x00, 0xc6, |
| 55 | 0x42, 0x00, 0x00, 0x40, 0x41, 0x00, 0x00, 0xb8, 0x41, 0x00, 0x00, 0x8a, 0x42, 0x00, 0x00, 0x5a, 0x43, 0x00, 0x00, |
| 56 | 0x30, 0x43, 0x00, 0x00, 0x2e, 0x43, 0x00, 0x00, 0x22, 0x43, 0x00, 0x00, 0x3b, 0x43, 0x00, 0x00, 0xd0, 0x42, 0x00, |
| 57 | 0x00, 0x4a, 0x43, 0x00, 0x00, 0xb8, 0x42, 0x00, 0x00, 0x5b, 0x43, 0x00, 0x00, 0xe8, 0x41, 0x00, 0x00, 0x94, 0x42, |
| 58 | 0x00, 0x00, 0x1f, 0x43, 0x00, 0x00, 0x80, 0x41, 0x00, 0x00, 0x1f, 0x43, 0x00, 0x00, 0x2c, 0x42, 0x00, 0x00, 0x20, |
| 59 | 0x41, 0x00, 0x00, 0x70, 0x42, 0x00, 0x00, 0x82, 0x42, 0x00, 0x00, 0x30, 0x41, 0x00, 0x00, 0xf8, 0x42, 0x00, 0x00, |
| 60 | 0xb8, 0x41, 0x00, 0x00, 0x34, 0x43, 0x00, 0x00, 0x00, 0x41, 0x00, 0x00, 0x40, 0x42, 0x00, 0x00, 0x60, 0x43, 0x00, |
| 61 | 0x00, 0x7c, 0x43, 0x00, 0x00, 0x48, 0x42, 0x00, 0x00, 0x17, 0x43, 0x00, 0x00, 0x30, 0x42, 0x00, 0x00, 0xd2, 0x42, |
| 62 | 0x00, 0x00, 0x0a, 0x43, 0x00, 0x00, 0xdc, 0x42, 0x00, 0x00, 0x90, 0x42, 0x00, 0x00, 0xc8, 0x41, 0x00, 0x00, 0x24, |
| 63 | 0x43, 0x00, 0x00, 0xe0, 0x40, 0x00, 0x00, 0xe8, 0x41, 0x00, 0x00, 0xdc, 0x42, 0x00, 0x00, 0x6c, 0x43, 0x00, 0x00, |
| 64 | 0x65, 0x43, 0x00, 0x00, 0x10, 0x41, 0x00, 0x00, 0x1c, 0x43, 0x00, 0x00, 0x2c, 0x42, 0x00, 0x00, 0xb0, 0x42, 0x00, |
| 65 | 0x00, 0x60, 0x42, 0x00, 0x00, 0x86, 0x42, 0x00, 0x00, 0x25, 0x43, 0x00, 0x00, 0x94, 0x42, 0x00, 0x00, 0x40, 0x42, |
| 66 | 0x00, 0x00, 0x2b, 0x43, 0x00, 0x00, 0x8a, 0x42, 0x00, 0x00, 0xf6, 0x42, 0x00, 0x00, 0x69, 0x43, 0x00, 0x00, 0xfa, |
| 67 | 0x42, 0x00, 0x00, 0x69, 0x43, 0x00, 0x00, 0x05, 0x43, 0x00, 0x00, 0xca, 0x42, 0x00, 0x00, 0x80, 0x41, 0x00, 0x00, |
| 68 | 0x1c, 0x42, 0x00, 0x00, 0x8c, 0x42, 0x00, 0x00, 0x60, 0x42, 0x00, 0x00, 0xf0, 0x41, 0x00, 0x00, 0x4d, 0x43, 0x00, |
| 69 | 0x00, 0x11, 0x43, 0x00, 0x00, 0xda, 0x42, 0x00, 0x00, 0x75, 0x43, 0x00, 0x00, 0x19, 0x43, 0x00, 0x00, 0x08, 0x43, |
| 70 | 0x00, 0x00, 0xfc, 0x42, 0x00, 0x00, 0xb0, 0x41, 0x00, 0x00, 0x96, 0x42, 0x00, 0x00, 0x28, 0x43, 0x00, 0x00, 0x34, |
| 71 | 0x43, 0x00, 0x00, 0x2a, 0x43, 0x00, 0x00, 0x64, 0x42, 0x00, 0x00, 0x1c, 0x43, 0x00, 0x00, 0x20, 0x41, 0x00, 0x00, |
| 72 | 0x60, 0x41, 0x00, 0x00, 0x70, 0x41, 0x00, 0x00, 0x90, 0x42, 0x00, 0x00, 0x29, 0x43, 0x00, 0x00, 0x07, 0x43, 0x00, |
| 73 | 0x00, 0x33, 0x43, 0x00, 0x00, 0x6f, 0x43, 0x00, 0x00, 0xd8, 0x41, 0x00, 0x00, 0xc6, 0x42, 0x00, 0x00, 0x10, 0x42, |
| 74 | 0x00, 0x00, 0xfc, 0x42, 0x00, 0x00, 0x88, 0x41, 0x00, 0x00, 0x20, 0x43, 0x00, 0x00, 0x1c, 0x42, 0x00, 0x00, 0x26, |
| 75 | 0x43, 0x00, 0x00, 0x13, 0x43, 0x00, 0x00, 0x24, 0x42, 0x00, 0x00, 0x53, 0x43, 0x00, 0x00, 0xc2, 0x42, 0x00, 0x00, |
| 76 | 0x30, 0x43, 0x00, 0x00, 0xca, 0x42, 0x00, 0x00, 0x43, 0x43, 0x00, 0x00, 0x38, 0x42, 0x00, 0x00, 0x80, 0x40, 0x00, |
| 77 | 0x00, 0x48, 0x42, 0x00, 0x00, 0x0e, 0x43, 0x00, 0x00, 0x36, 0x43, 0x00, 0x00, 0x40, 0x41, 0x00, 0x00, 0xa6, 0x42, |
| 78 | 0x00, 0x00, 0x84, 0x42, 0x00, 0x00, 0x33, 0x43, 0x00, 0x00, 0x60, 0x42}; |