diff options
author | Anton Moberg <anton.moberg@arm.com> | 2021-03-17 10:19:26 +0100 |
---|---|---|
committer | Anton Moberg <anton.moberg@arm.com> | 2021-03-18 10:00:04 +0100 |
commit | 456566daf2be5b34fd0659854d2807e8bc3b461b (patch) | |
tree | 17bbe8e2cf6ca6867236159fe9a7b23ffe876c1f /applications/baremetal/models/keyword_spotting_cnn_small_int8/output.h | |
parent | bd59c79d70d9cb2e8bd5fd4b13204cf6df6fcd62 (diff) | |
download | ethos-u-core-platform-456566daf2be5b34fd0659854d2807e8bc3b461b.tar.gz |
Smaller networks - keyword_spotting_cnn_small_int8
Added: Baremetal folder for baremetal applications
Added: Baremetal application 'keyword_spotting_cnn_small_int8' as an
executable test. Run with ctest -R keyword_spotting_cnn_small_int8
Model taken from ML-zoo, run through vela, and hexdumped to C header
format.
Change-Id: I053d88a4319cb58020027d6007e83fd519a2af6e
Diffstat (limited to 'applications/baremetal/models/keyword_spotting_cnn_small_int8/output.h')
-rw-r--r-- | applications/baremetal/models/keyword_spotting_cnn_small_int8/output.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/applications/baremetal/models/keyword_spotting_cnn_small_int8/output.h b/applications/baremetal/models/keyword_spotting_cnn_small_int8/output.h new file mode 100644 index 0000000..7800022 --- /dev/null +++ b/applications/baremetal/models/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/blob/master/MODEL_LIST.md + * Hexdump: python3 -c 'import numpy;i=numpy.load("output.npy");i.tofile("output.bin");' && xxd -i output.bin > output.h + ******************************************************************************************************************/ + +unsigned char expectedOutputData[48] __attribute__((aligned(16), section("expected_output_data_sec"))) = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x34, 0x3e, 0x00, 0x00, 0xc0, 0x3c, 0x00, 0x00, 0x30, 0x3d, 0x00, 0x00, 0x00, 0x00};
\ No newline at end of file |