/cmsis-nn-latest/Documentation/Doxygen/ |
D | nn.dxy.in | 1 # SPDX-FileCopyrightText: Copyright 2022-2024 Arm Limited and/or its affiliates <open-source-office… 3 # SPDX-License-Identifier: Apache-2.0 5 # Licensed under the Apache License, Version 2.0 (the License); you may 9 # www.apache.org/licenses/LICENSE-2.0 20 # doxygen (www.doxygen.org) for a project. 33 # Use doxygen to compare the used configuration file with the template 35 # doxygen -x [configFile] 36 # Use doxygen to compare the used configuration file with the template 39 # doxygen -x_noenv [configFile] 41 #--------------------------------------------------------------------------- [all …]
|
D | gen_doc.sh | 3 # SPDX-FileCopyrightText: Copyright 2022-2024 Arm Limited and/or its affiliates <open-source-office… 5 # SPDX-License-Identifier: Apache-2.0 7 # Licensed under the Apache License, Version 2.0 (the License); you may 11 # www.apache.org/licenses/LICENSE-2.0 19 # Version: 3.0 20 # Date: 2024-01-09 21 # This bash script generates CMSIS-NN Documentation: 23 # Pre-requisites: 24 # - bash shell (for Windows: install git for Windows) 25 # - doxygen 1.9.6 [all …]
|
/cmsis-nn-latest/Documentation/ |
D | README.md | 1 # CMSIS-NN Documentation 3 CMSIS-NN Documentation in HTML format is published online at [https://arm-software.github.io/CMSIS-… 5 The version drop-down menu there allows to switch between the documentation provided with offical r… 7 …umentation source is maintained in `Documentation/Doxygen/` folder as a mixture of markdown and do… 9 Generating the HTML-formatted documentation from the source is done with `gen_doc.sh` script: 12 CMSIS-NN $ ./Documentation/Doxygen/gen_doc.sh 15 The script expects specific version of [doxygen](https://www.doxygen.nl/) to be installed locally. …
|
/cmsis-nn-latest/.github/workflows/ |
D | pack.yml | 11 group: ${{ github.workflow }}-${{ github.ref }} 12 cancel-in-progress: true 17 runs-on: ubuntu-22.04 19 - uses: actions/checkout@v4 21 fetch-depth: 0 23 - name: Fetch tags 25 git fetch --tags --force 27 - uses: Open-CMSIS-Pack/gen-pack-action@main 29 doxygen-version: 1.9.6 30 packchk-version: 1.4.1 [all …]
|
/cmsis-nn-latest/Documentation/Doxygen/style_template/ |
D | header.html | 1 <!-- HTML header for doxygen 1.9.6--> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xh… 5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 6 <meta http-equiv="X-UA-Compatible" content="IE=11"/> 7 <meta name="viewport" content="width=device-width, initial-scale=1"/> 8 <!--BEGIN PROJECT_NAME--><title>$projectname: $title</title><!--END PROJECT_NAME--> 9 <!--BEGIN !PROJECT_NAME--><title>$title</title><!--END !PROJECT_NAME--> 10 <!--BEGIN DISABLE_INDEX--> 11 <!--BEGIN FULL_SIDEBAR--> 13 <!--END FULL_SIDEBAR--> [all …]
|
/cmsis-nn-latest/ |
D | README.md | 3 performance and minimize the memory footprint of neural networks on Arm Cortex-M processors. 7 …-NN is bit-exact with Tensorflow Lite reference kernels. In some cases TFL and TFLM reference kern… 12 [here](https://github.com/ARM-software/CMSIS-NN/releases) . 18 …pure C implementation for an operator. This is used for processors like Arm Cortex-M0 or Cortex-M3. 21 processors here are Cortex-M4 or a Cortex-M33 configured with optional DSP extension. 24 Processors with Arm Helium Technology use the Arm M-profile Vector Extension(MVE) instructions for … 25 Examples are Cortex-M55 or Cortex-M85 configured with MVE. 28 | --------------- | ----------- | ---------- |------------|-------------| -------------|-----------… 59 the function to an appropriate Doxygen group as well. 61 ### Doxygen subsection [all …]
|
D | gen_pack.sh | 2 # Version: 3.0 3 # Date: 2024-01-09 4 # This bash script generates a CMSIS-NN Software Pack: 7 set -o pipefail 9 # Set version of gen pack library 10 # For available versions see https://github.com/Open-CMSIS-Pack/gen-pack/tags. 15 DEFAULT_ARGS=(-c "v") 17 # Pack warehouse directory - destination 49 Documentation/Doxygen 73 # - full Tag annotations, release descriptions, or commit messages (in order) [all …]
|
/cmsis-nn-latest/Source/NNSupportFunctions/ |
D | arm_s8_to_s16_unordered_with_offset.c | 2 …* SPDX-FileCopyrightText: Copyright 2023 Arm Limited and/or its affiliates <open-source-office@arm… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 61 block_cnt--; in arm_s8_to_s16_unordered_with_offset() 69 block_cnt--; in arm_s8_to_s16_unordered_with_offset() 75 * @} end of Doxygen group
|
D | arm_q7_to_q15_with_offset.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 59 block_cnt--; in arm_q7_to_q15_with_offset() 92 block_cnt--; in arm_q7_to_q15_with_offset() 98 /* Run the below code for Cortex-M0 */ in arm_q7_to_q15_with_offset() [all …]
|
D | arm_nn_mat_mul_core_4x_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2022 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M processors 28 * -------------------------------------------------------------------- */ 115 sum_tmp *= conv_params->input_offset; in arm_nn_mat_mul_core_4x_s8() 122 res = arm_requantize_mve(res, quant_params->multiplier[i], quant_params->shift[i]); in arm_nn_mat_mul_core_4x_s8() 123 res = vaddq_n_s32(res, conv_params->output_offset); in arm_nn_mat_mul_core_4x_s8() [all …]
|
D | arm_nn_depthwise_conv_nt_t_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2020, 2022 Arm Limited and/or its affiliates <open-source… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M processors with MVE extension. 28 * -------------------------------------------------------------------- */ 67 num_ch_to_process -= 4, offset += 4, out += 4, i_loop_cnt++) in arm_nn_depthwise_conv_nt_t_s8() 168 * @} end of Doxygen group
|
D | arm_nn_depthwise_conv_nt_t_s16.c | 2 …* SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M processors with MVE extension 28 * -------------------------------------------------------------------- */ 65 num_ch_to_process -= 4, offset += 4, out += 4, i_loop_cnt++) in arm_nn_depthwise_conv_nt_t_s16() 150 out -= (4 - tail_ch); in arm_nn_depthwise_conv_nt_t_s16() 170 * @} end of Doxygen group
|
D | arm_nn_depthwise_conv_nt_t_padded_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2020, 2022 Arm Limited and/or its affiliates <open-source… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M processors with MVE extension 28 * -------------------------------------------------------------------- */ 76 num_ch_to_process -= 4, out += 4, offset += 4, i_loop_cnt++) in arm_nn_depthwise_conv_nt_t_padded_s8() 175 * @} end of Doxygen group
|
D | arm_nn_depthwise_conv_nt_t_s4.c | 2 * SPDX-FileCopyrightText: Copyright 2010-2020, 2022, 2024 Arm Limited and/or its affiliates 3 * <open-source-office@arm.com> 5 * SPDX-License-Identifier: Apache-2.0 7 * Licensed under the Apache License, Version 2.0 (the License); you may 11 * www.apache.org/licenses/LICENSE-2.0 20 /* ---------------------------------------------------------------------- 28 * Target Processor: Cortex-M processors with MVE extension. 29 * -------------------------------------------------------------------- */ 71 num_ch_to_process -= 4, offset += 4, out += 4, i_loop_cnt++) in arm_nn_depthwise_conv_nt_t_s4() 226 * @} end of Doxygen group
|
/cmsis-nn-latest/Source/FullyConnectedFunctions/ |
D | arm_batch_matmul_s16.c | 2 * SPDX-FileCopyrightText: Copyright 2024 Arm Limited and/or its affiliates <open-source-office.com> 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 57 const int32_t output_batch = output_dims->n; in arm_batch_matmul_s16() 58 const int32_t output_height = output_dims->h; in arm_batch_matmul_s16() 59 const int32_t lhs_rows = input_lhs_dims->w; in arm_batch_matmul_s16() [all …]
|
D | arm_batch_matmul_s8.c | 2 * SPDX-FileCopyrightText: Copyright 2024 Arm Limited and/or its affiliates <open-source-office.com> 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 58 if (ctx->buf == NULL) in arm_batch_matmul_s8() 62 int32_t *vector_sum_buf = (int32_t *)ctx->buf; in arm_batch_matmul_s8() 64 const int32_t output_batch = output_dims->n; in arm_batch_matmul_s8() [all …]
|
/cmsis-nn-latest/Source/SoftmaxFunctions/ |
D | arm_nn_softmax_common_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 28 * -------------------------------------------------------------------- */ 85 diff = input[col] - max; in arm_nn_softmax_common_s8() 93 const int32_t shifted_scale = ONE_OVER1((sum > 0 ? sum << headroom : 0) - (1 << 31)); in arm_nn_softmax_common_s8() 100 bits_over_unit = ACCUM_BITS - headroom + 15; in arm_nn_softmax_common_s8() [all …]
|
/cmsis-nn-latest/Source/BasicMathFunctions/ |
D | arm_elementwise_mul_s16.c | 2 …* SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 89 loop_count -= 4; in arm_elementwise_mul_s16() 131 loop_count--; in arm_elementwise_mul_s16() 151 loop_count--; in arm_elementwise_mul_s16() [all …]
|
D | arm_elementwise_mul_acc_s16.c | 2 …* SPDX-FileCopyrightText: Copyright 2022, 2024 Arm Limited and/or its affiliates <open-source-offi… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 94 loop_count -= 4; in arm_elementwise_mul_acc_s16() 139 loop_count--; in arm_elementwise_mul_acc_s16() 159 loop_count--; in arm_elementwise_mul_acc_s16() [all …]
|
D | arm_elementwise_mul_s16_batch_offset.c | 2 …* SPDX-FileCopyrightText: Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 93 loop_count -= 4; in arm_elementwise_mul_s16_batch_offset() 139 loop_count--; in arm_elementwise_mul_s16_batch_offset() 159 output += (batch_offset - 1) * block_size; in arm_elementwise_mul_s16_batch_offset() [all …]
|
D | arm_elementwise_mul_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 92 num_elements -= 4; in arm_elementwise_mul_s8() 156 loop_count--; in arm_elementwise_mul_s8() 180 loop_count--; in arm_elementwise_mul_s8() [all …]
|
D | arm_elementwise_add_s16.c | 2 …* SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M CPUs 29 * -------------------------------------------------------------------- */ 103 count -= 4; in arm_elementwise_add_s16() 140 loop_count--; in arm_elementwise_add_s16() 162 loop_count--; in arm_elementwise_add_s16() [all …]
|
D | arm_minimum_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 58 flat_size -= 16; in arm_min_no_broadcast_s8() 66 --flat_size; in arm_min_no_broadcast_s8() 88 flat_size -= 16; in arm_min_scalar_s8() [all …]
|
D | arm_elementwise_add_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 104 count -= 4; in arm_elementwise_add_s8() 196 loop_count--; in arm_elementwise_add_s8() 224 loop_count--; in arm_elementwise_add_s8() [all …]
|
D | arm_maximum_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm… 4 * SPDX-License-Identifier: Apache-2.0 6 * Licensed under the Apache License, Version 2.0 (the License); you may 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 58 flat_size -= 16; in arm_max_no_broadcast_s8() 66 --flat_size; in arm_max_no_broadcast_s8() 87 flat_size -= 16; in arm_max_scalar_s8() [all …]
|