/cmsis-nn-latest/Source/ConvolutionFunctions/ |
D | arm_transpose_conv_s8.c | 107 for (int x = 0; x < buf_x_elements * buf_y; x++) in arm_transpose_conv_s8() local 109 …arm_memcpy_s8((int8_t *)(buf + x * output_ch), (const int8_t *)bias_data, output_ch * sizeof(int32… in arm_transpose_conv_s8() 149 for (int x = 0; x < output_x; x++) in arm_transpose_conv_s8() local 178 for (int x = 0; x < output_x; x++) in arm_transpose_conv_s8() local 197 for (int x = 0; x < buf_x_elements; x++) in arm_transpose_conv_s8() local 199 arm_memcpy_s8((int8_t *)(buf + buf_row + x * output_ch), in arm_transpose_conv_s8() 223 for (int x = 0; x < output_x; x++) in arm_transpose_conv_s8() local 250 for (int x = 0; x < output_x; x++) in arm_transpose_conv_s8() local
|
D | arm_transpose_conv_wrapper_s8.c | 118 for (int32_t x = 0; x < filter_w; x++) in arm_transpose_conv_wrapper_s8() local
|
/cmsis-nn-latest/Tests/UnitTest/ |
D | README.md | 143 | convolution | x | x | 144 | fully_connected | x | x | 145 | lstm | | x | 146 | svdf | | x | Operator is only fully supported by TFLM. 147 | softmax | x | x | 148 | avgpool | x | x | 149 | maxpool | x | x | 150 | add | x | x | 151 | mul | x | x | 152 | batch matmul | x | x | [all …]
|
D | add_mul_settings.py | 102 out = keras.layers.Lambda(function=lambda x: x)(layer)
|
D | conv_settings.py | 170 while any((x > 31 or x < -31) for x in per_channel_shift): 202 quantized_data = [(x // scale) + zero_point for x in data]
|
/cmsis-nn-latest/Source/TransposeFunctions/ |
D | arm_transpose_s8.c | 109 for (int32_t x = 0; x < src_cols; x++) in arm_transpose_s8_nhcw() 141 for (int32_t x = 0; x < w; x++) in arm_transpose_s8_default() local 146 … i * in_strides[0] + y * in_strides[1] + x * in_strides[2] + z * in_strides[3]; in arm_transpose_s8_default() 149 … i * out_strides[0] + y * out_strides[1] + x * out_strides[2] + z * out_strides[3]; in arm_transpose_s8_default()
|
/cmsis-nn-latest/Source/SoftmaxFunctions/ |
D | arm_softmax_s8.c | 46 const int32x4_t x = vaddq_n_s32(val_mod_minus_quarter << 5, 1 << 28); in arm_exp_on_negative_values_mve_32x4() local 47 const int32x4_t x2 = MUL_SAT_MVE(x, x); in arm_exp_on_negative_values_mve_32x4() 48 const int32x4_t op_1 = DIV_POW2_MVE(MUL_SAT_MVE(x2, x2), 2) + MUL_SAT_MVE(x2, x); in arm_exp_on_negative_values_mve_32x4() 49 const int32x4_t op_2 = x + DIV_POW2_MVE(MUL_SAT_MVE(op_1, vdupq_n_s32(715827883)) + x2, 1); in arm_exp_on_negative_values_mve_32x4() 52 …#define SELECT_IF_NON_ZERO(x) … in arm_exp_on_negative_values_mve_32x4() argument 56 …result = SELECT_USING_MASK(mask, MUL_SAT_MVE(result, vdupq_n_s32(x)), result); … in arm_exp_on_negative_values_mve_32x4()
|
/cmsis-nn-latest/Source/PadFunctions/ |
D | arm_pad_s8.c | 88 for (int32_t x = 0; x < input_size->w; x++) in arm_pad_s8() local
|
/cmsis-nn-latest/Include/ |
D | arm_nnsupportfunctions.h | 49 #define MASK_IF_ZERO(x) (x) == 0 ? ~0 : 0 argument 50 #define MASK_IF_NON_ZERO(x) (x) != 0 ? ~0 : 0 argument 55 #define CLAMP(x, h, l) MAX(MIN((x), (h)), (l)) argument 1459 #define EXP_ON_NEG(x) arm_nn_exp_on_negative_values((x)) argument 1460 #define ONE_OVER1(x) arm_nn_one_over_one_plus_x_for_x_in_0_1((x)) argument 1831 const int32_t x = (val_mod_minus_quarter << 5) + (1 << 28); in arm_nn_exp_on_negative_values() local 1832 const int32_t x2 = MUL_SAT(x, x); in arm_nn_exp_on_negative_values() 1835 …MUL_SAT(1895147668, x + DIV_POW2(MUL_SAT(DIV_POW2(MUL_SAT(x2, x2), 2) + MUL_SAT(x2, x), 715827883)… in arm_nn_exp_on_negative_values() 1837 #define SELECT_IF_NON_ZERO(x) … in arm_nn_exp_on_negative_values() argument 1840 …result = SELECT_USING_MASK(mask, MUL_SAT(result, x), result); … in arm_nn_exp_on_negative_values() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/ |
D | op_transpose.py | 57 generated_params["size"] = math.prod(x for x in input_shape)
|
D | op_conv.py | 270 quantized_data = [(x // scale) + zero_point for x in data]
|
/cmsis-nn-latest/Source/NNSupportFunctions/ |
D | arm_nn_mat_mult_nt_t_s8.c | 238 for (int32_t x = 0; x < rhs_cols; ++x) in arm_nn_mat_mult_nt_t_s8() 240 lhs_offset_contribution0 += rhs[x]; in arm_nn_mat_mult_nt_t_s8() 241 lhs_offset_contribution1 += rhs[x + rhs_cols]; in arm_nn_mat_mult_nt_t_s8() 634 for (int32_t x = 0; x < rhs_cols; ++x) in arm_nn_mat_mult_nt_t_s8() 636 lhs_offset_contribution0 += rhs[x]; in arm_nn_mat_mult_nt_t_s8() 637 lhs_offset_contribution1 += rhs[x + rhs_cols]; in arm_nn_mat_mult_nt_t_s8()
|
/cmsis-nn-latest/Include/Internal/ |
D | arm_nn_compiler.h | 91 #define __ALIGNED(x) __declspec(align(x)) argument
|
/cmsis-nn-latest/Documentation/Doxygen/style_template/ |
D | search.css | 276 background-repeat: repeat-x;
|
D | extra_stylesheet.css | 690 overflow-x: overlay;
|
/cmsis-nn-latest/Documentation/Doxygen/ |
D | nn.dxy.in | 35 # doxygen -x [configFile] 2028 # Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x 2029 # 14 inches) and executive (7.25 x 10.5 inches). 2413 …ATH_NEON=1 ARM_FLOAT16_SUPPORTED=1 __STATIC_FORCEINLINE=static __STATIC_INLINE=static __ALIGNED(x)=
|