/cmsis-nn-3.6.0-3.5.0/DoxyGen/ |
D | nn.dxy.in | 1 # SPDX-FileCopyrightText: Copyright 2022-2023 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. 32 #--------------------------------------------------------------------------- 34 #--------------------------------------------------------------------------- 37 # file that follow. The default is UTF-8 which is also the encoding used for all 38 # text before the first occurrence of this tag. Doxygen uses libiconv (or the 41 # The default value is: UTF-8. [all …]
|
D | gen_doc.sh | 3 # SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.… 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: 1.0 20 # Date: 2022-05-31 21 # This bash script generates CMSIS-Driver Documentation: 23 # Pre-requisites: 24 # - bash shell (for Windows: install git for Windows) 25 # - doxygen 1.9.2 [all …]
|
D | check_links.sh | 3 # SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.… 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 23 echo " <src> Directory with doxygen source files." 27 if [ ! -f "$1" ]; then 28 if [ -z "$1" ]; then 37 if [ ! -d "$2" ]; then 38 if [ -z "$2" ]; then 47 linkchecker -F csv --timeout 3 --check-extern $1 [all …]
|
/cmsis-nn-3.6.0-3.5.0/.github/workflows/ |
D | build.yaml | 1 # SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.… 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 22 - main 25 - main 31 runs-on: ubuntu-20.04 33 - uses: actions/checkout@v3 35 fetch-depth: 0 37 - name: Fetch tags [all …]
|
/cmsis-nn-3.6.0-3.5.0/ |
D | README.md | 3 performance and minimize the memory footprint of neural networks on Arm Cortex-M processors. 11 [here](https://github.com/ARM-software/CMSIS-NN/releases) . 17 …pure C implementation for an operator. This is used for processors like Arm Cortex-M0 or Cortex-M3. 20 processors here are Cortex-M4 or a Cortex-M33 configured with optional DSP extension. 23 Processors with Arm Helium Technology use the Arm M-profile Vector Extension(MVE) instructions for … 24 Examples are Cortex-M55 or Cortex-M85 configured with MVE. 28 | --------------- | ----------- | ---------- | ----------- | ------------ | ----------- | ---------… 52 the function to an appropriate Doxygen group as well. 54 ### Doxygen subsection 55 …tion prototypes must have a detailed comment header in Doxygen format. You can execute the doxygen… [all …]
|
/cmsis-nn-3.6.0-3.5.0/DoxyGen/templates/ |
D | header.html | 1 <!-- HTML header for doxygen 1.9.2--> 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--> 11 <!--BEGIN DISABLE_INDEX--> 12 <!--BEGIN FULL_SIDEBAR--> 14 <!--END FULL_SIDEBAR--> [all …]
|
D | Layout_forUser.xml | 1 <doxygenlayout version="1.0"> 2 <!-- Generated by doxygen 1.9.2 --> 3 <!-- Navigation index tabs for HTML output --> 41 <!-- Layout definition for a class page --> 100 <!-- Layout definition for a namespace page --> 132 <!-- Layout definition for a concept page --> 140 <!-- Layout definition for a file page --> 178 <!-- Layout definition for a group page --> 229 <!-- Layout definition for a directory page -->
|
D | extra_stylesheet.css | 1 /* The standard CSS for doxygen */ 3 --arm_light_blue: #00C1DE; 4 --arm_blue: #11809F; 5 --arm_blue1: #0091BD; 6 --arm_dark_blue: #002B49; 7 --arm_light_gray: #E5ECEB; 8 --arm_light_gray1: #EFF5F4; 9 --arm_light_gray2: #EBEBEB; 10 --arm_light_gray3: #F7F7F7; 11 --arm_dark_gray: #7D868C; [all …]
|
/cmsis-nn-3.6.0-3.5.0/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_mat_mul_kernel_s16.c | 2 * SPDX-FileCopyrightText: Copyright 2010-2023 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 /* ---------------------------------------------------------------------- 23 * Description: Matrix-multiplication function for convolution 28 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 44 * Matrix-multiplication function for convolution with per-channel requantization. [all …]
|
D | arm_nn_vec_mat_mult_t_s16.c | 2 …* SPDX-FileCopyrightText: Copyright 2020-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 col_cnt -= 8; in arm_nn_vec_mat_mult_t_s16() 167 for (int8_t rows_left = rhs_rows & 0x3; rows_left > 0; rows_left--) in arm_nn_vec_mat_mult_t_s16() 181 col_cnt -= 8; in arm_nn_vec_mat_mult_t_s16() [all …]
|
D | arm_nn_vec_mat_mult_t_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2020-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 * -------------------------------------------------------------------- */ 56 #pragma GCC optimize("unroll-loops") 104 col_cnt -= 16; in arm_nn_vec_mat_mult_t_s8() 161 col_cnt -= 16; in arm_nn_vec_mat_mult_t_s8() [all …]
|
D | arm_nn_vec_mat_mult_t_svdf_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2021-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 /* ---------------------------------------------------------------------- 28 * Target : Arm(R) M-Profile Architecture 30 * -------------------------------------------------------------------- */ 61 if (rhs_cols < 0 || (NN_Q31_MAX - rhs_cols) < 16 || dst_offset < 0) in arm_nn_vec_mat_mult_t_svdf_s8() 91 col_cnt -= 16; in arm_nn_vec_mat_mult_t_svdf_s8() 140 col_cnt -= 16; in arm_nn_vec_mat_mult_t_svdf_s8() [all …]
|
D | arm_nn_mat_mult_nt_t_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2020-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 /* ---------------------------------------------------------------------- 22 …* Description: Matrix multiplication support function with the right-hand-side (rhs) matrix trans… 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 43 * s8 matrix multiplication with the right-hand-side matrix transposed 66 for (; i_items <= (lhs_rows - 4); i_items += 4) in arm_nn_mat_mult_nt_t_s8() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Scripts/ |
D | gen_pack.sh | 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 18 # Version: 2.3 19 # Date: 2022-09-28 23 set -o pipefail 25 # Set version of gen pack library 29 DEFAULT_ARGS=(-c "v") 31 # Pack warehouse directory - destination [all …]
|
/cmsis-nn-3.6.0-3.5.0/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-3.6.0-3.5.0/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_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_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 …]
|