/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/ |
D | test.py | 1 # SPDX-FileCopyrightText: Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.… 3 # SPDX-License-Identifier: Apache-2.0 9 # www.apache.org/licenses/LICENSE-2.0 156 header = get_header(params["tflite_generator"], params["interpreter"]) 167 write_config(fpaths["config_data"], config_params, params["name"], fpaths["test_data"], header) 174 … write_c_array(tensor, fpaths[name], dtype, params["name"], name, fpaths["test_data"], header) 203 """ Convert a model generated with keras to tflite-format """ 287 def write_config(config_fpath, params, prefix, test_data_fpath, header): argument 290 f.write(header) 310 f.write(header) [all …]
|
/cmsis-nn-latest/Documentation/Doxygen/style_template/ |
D | extra_stylesheet.css | 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; 12 --arm_dark_gray1: #6F777C; [all …]
|
D | resize.js | 6 Copyright (C) 1997-2020 by Dimitri van Heesch 29 var sidenav,navtree,content,header,barWidth=6,desktop_vp=768,titleHeight; 40 if (index != -1) { 43 if (valEnd == -1) { 74 writeSetting('width',sidenavWidth-barWidth); 89 var headerHeight = header.outerHeight(); 94 contentHeight = windowHeight - headerHeight - footerHeight; 98 contentHeight = windowHeight - footerHeight; 99 navtreeHeight = windowHeight - headerHeight; 122 writeSetting('width',sidenavWidth-barWidth); [all …]
|
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/.github/workflows/ |
D | microspeech.yaml | 1 # SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.… 3 # SPDX-License-Identifier: Apache-2.0 9 # www.apache.org/licenses/LICENSE-2.0 21 - microspeech 25 - completed 38 runs-on: ubuntu-latest 40 - name: Set a pending status to the PR 45 curl --request POST \ 46 …--url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.event.workflow_run… 47 --header "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ [all …]
|
/cmsis-nn-latest/ |
D | ARM.CMSIS-NN.pdsc | 1 <?xml version="1.0" encoding="UTF-8"?> 3 …w.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="https://raw.githubusercontent.com/… 4 <name>CMSIS-NN</name> 10 <license name="LICENSE" title="Apache 2.0 open-source license" spdx="Apache-2.0"/> 14 <repository type="git">https:/github.com/arm-software/CMSIS-NN.git</repository> 22 <!-- conditions are dependency rules that can apply to a component or an individual file --> 24 <!-- CMSIS-NN --> 25 <condition id="CMSIS-NN"> 26 <description>No additional components required for CMSIS-NN</description> 32 <!-- CMSIS-NN component --> [all …]
|
/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 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 22 …* Description: Batch matrix multiplication. Does not perform transposes, see header file for deta… 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 44 * Refer to header file for details. 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() [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 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 22 …* Description: Batch matrix multiplication. Does not perform transposes, see header file for deta… 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 44 * Refer to header file for details. 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() [all …]
|
D | arm_fully_connected_wrapper_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2024 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 44 * S8 basic fully-connected and matrix multiplication layer function for TensorFlow Lite 46 * Refer header file for details. 63 if (quant_params->is_per_channel) in arm_fully_connected_wrapper_s8() 65 … const cmsis_nn_per_channel_quant_params per_channel_quant_params = {quant_params->multiplier, in arm_fully_connected_wrapper_s8() [all …]
|
D | arm_fully_connected_per_channel_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2024 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 44 …* S8 basic fully-connected and matrix multiplication layer function using per-channel quantization… 46 * Refer header file for details. 63 int32_t batch_cnt = input_dims->n; in arm_fully_connected_per_channel_s8() 66 if (ctx->buf == NULL) in arm_fully_connected_per_channel_s8() [all …]
|
D | arm_fully_connected_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2024 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 44 * S8 basic fully-connected and matrix multiplication layer function for TensorFlow Lite 46 * Refer header file for details. 64 int32_t batch_cnt = input_dims->n; in arm_fully_connected_s8() 67 if (ctx->buf == NULL) in arm_fully_connected_s8() [all …]
|
/cmsis-nn-latest/Source/ConvolutionFunctions/ |
D | arm_convolve_wrapper_s4.c | 2 …* SPDX-FileCopyrightText: Copyright 2023-2024 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 23 * cmsis-nn to perform the convolution. See header files for details. 28 * Target : Arm(R) M-Profile Architecture 30 * -------------------------------------------------------------------- */ 46 * Refer header file for details. 62 if ((conv_params->padding.w == 0) && (conv_params->padding.h == 0) && (filter_dims->w == 1) && in arm_convolve_wrapper_s4() 63 (filter_dims->h == 1) && (conv_params->dilation.w == 1 && conv_params->dilation.h == 1)) in arm_convolve_wrapper_s4() [all …]
|
D | arm_convolve_wrapper_s16.c | 2 …* SPDX-FileCopyrightText: Copyright 2021-2024 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 23 * cmsis-nn to perform the convolution. 28 * Target : Arm(R) M-Profile Architecture 30 * -------------------------------------------------------------------- */ 46 * Refer header file for details.
|
D | arm_depthwise_conv_wrapper_s4.c | 2 …* SPDX-FileCopyrightText: Copyright 2023 Arm Limited and/or its affiliates <open-source-office@arm… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 28 * Target : Arm(R) M-Profile Architecture 30 * -------------------------------------------------------------------- */ 46 * Refer header file for details. 62 if (1 == dw_conv_params->ch_mult && input_dims->n == 1 && dw_conv_params->dilation.w == 1 && in arm_depthwise_conv_wrapper_s4() 63 dw_conv_params->dilation.h == 1) in arm_depthwise_conv_wrapper_s4()
|
D | arm_depthwise_conv_wrapper_s16.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 28 * Target : Arm(R) M-Profile Architecture 30 * -------------------------------------------------------------------- */ 47 * Refer header file for details.
|
D | arm_convolve_1x1_s4_fast.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 22 * Description: Fast s4 version of 1x1 convolution (non-square shape) 27 * Target : Arm(R) M-Profile Architecture 29 * -------------------------------------------------------------------- */ 44 * Fast s4 version for 1x1 convolution (non-square shape) 46 * Refer header file for details. 62 if (conv_params->padding.w != 0 || conv_params->padding.h != 0 || conv_params->stride.w != 1 || in arm_convolve_1x1_s4_fast() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/ |
D | test_settings.py | 1 # SPDX-FileCopyrightText: Copyright 2010-2024 Arm Limited and/or its affiliates <open-source-office… 3 # SPDX-License-Identifier: Apache-2.0 9 # www.apache.org/licenses/LICENSE-2.0 44 INT32_MIN = -2147483648 46 INT64_MIN = -9223372036854775808 48 INT16_MIN = -32768 50 INT8_MIN = -128 52 INT4_MIN = -8 56 CLANG_FORMAT = 'clang-format-12 -i' # For formatting generated headers. 211 header = ','.join(map(str, data.shape)) [all …]
|
/cmsis-nn-latest/Source/ReshapeFunctions/ |
D | arm_reshape_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2022 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M cores 29 * -------------------------------------------------------------------- */ 46 * Refer header file for details.
|
/cmsis-nn-latest/Source/ActivationFunctions/ |
D | arm_relu6_s8.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2019, 2022 Arm Limited and/or its affiliates <open-source… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M cores 29 * -------------------------------------------------------------------- */ 46 * Refer to header file for details.
|
/cmsis-nn-latest/Source/ConcatenationFunctions/ |
D | arm_concatenation_s8_w.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2022 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M cores 29 * -------------------------------------------------------------------- */ 46 * Refer to header file for details.
|
D | arm_concatenation_s8_z.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2022 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M cores 29 * -------------------------------------------------------------------- */ 46 * Refer to header file for details.
|
D | arm_concatenation_s8_x.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2022 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M cores 29 * -------------------------------------------------------------------- */ 46 * Refer to header file for details.
|
D | arm_concatenation_s8_y.c | 2 …* SPDX-FileCopyrightText: Copyright 2010-2022 Arm Limited and/or its affiliates <open-source-offic… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M cores 29 * -------------------------------------------------------------------- */ 46 * Refer to header file for details.
|
/cmsis-nn-latest/Source/NNSupportFunctions/ |
D | arm_nn_lstm_calculate_gate_s16.c | 2 …* SPDX-FileCopyrightText: Copyright 2022, 2024 Arm Limited and/or its affiliates <open-source-offi… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M cores 29 * -------------------------------------------------------------------- */ 45 * Refer to header file for details 55 memset(output, 0, params->hidden_size * params->batch_size * sizeof(int16_t)); in arm_nn_lstm_calculate_gate_s16() 58 gate->input_weights, in arm_nn_lstm_calculate_gate_s16() 59 gate->input_effective_bias, in arm_nn_lstm_calculate_gate_s16() [all …]
|
D | arm_nn_lstm_calculate_gate_s8_s16.c | 2 …* SPDX-FileCopyrightText: Copyright 2022, 2024 Arm Limited and/or its affiliates <open-source-offi… 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 19 /* ---------------------------------------------------------------------- 27 * Target Processor: Cortex-M cores 29 * -------------------------------------------------------------------- */ 52 * Refer to header file for details 62 memset(output, 0, params->hidden_size * params->batch_size * sizeof(int16_t)); in arm_nn_lstm_calculate_gate_s8_s16() 65 gate->input_weights, in arm_nn_lstm_calculate_gate_s8_s16() 66 gate->input_effective_bias, in arm_nn_lstm_calculate_gate_s8_s16() [all …]
|