Home
last modified time | relevance | path

Searched refs:x (Results 1 – 7 of 7) sorted by relevance

/cmsis-nn-3.6.0-3.5.0/Include/
Darm_nnsupportfunctions.h49 #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
798 #define EXP_ON_NEG(x) arm_nn_exp_on_negative_values((x)) argument
799 #define ONE_OVER1(x) arm_nn_one_over_one_plus_x_for_x_in_0_1((x)) argument
1084 const int32_t x = (val_mod_minus_quarter << 5) + (1 << 28); in arm_nn_exp_on_negative_values() local
1085 const int32_t x2 = MUL_SAT(x, x); in arm_nn_exp_on_negative_values()
1088 …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()
1090 #define SELECT_IF_NON_ZERO(x) … in arm_nn_exp_on_negative_values() argument
1093 …result = SELECT_USING_MASK(mask, MUL_SAT(result, x), result); … in arm_nn_exp_on_negative_values()
[all …]
/cmsis-nn-3.6.0-3.5.0/Source/SoftmaxFunctions/
Darm_softmax_s8.c46 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-3.6.0-3.5.0/Source/NNSupportFunctions/
Darm_nn_mat_mult_nt_t_s8.c234 for (int32_t x = 0; x < rhs_cols; ++x) in arm_nn_mat_mult_nt_t_s8()
236 lhs_offset_contribution0 += rhs[x]; in arm_nn_mat_mult_nt_t_s8()
237 lhs_offset_contribution1 += rhs[x + rhs_cols]; in arm_nn_mat_mult_nt_t_s8()
629 for (int32_t x = 0; x < rhs_cols; ++x) in arm_nn_mat_mult_nt_t_s8()
631 lhs_offset_contribution0 += rhs[x]; in arm_nn_mat_mult_nt_t_s8()
632 lhs_offset_contribution1 += rhs[x + rhs_cols]; in arm_nn_mat_mult_nt_t_s8()
/cmsis-nn-3.6.0-3.5.0/Include/Internal/
Darm_nn_compiler.h88 #define __ALIGNED(x) __declspec(align(x)) argument
/cmsis-nn-3.6.0-3.5.0/DoxyGen/templates/
Dsearch.css55 background:url('search_m.png') repeat-x;
/cmsis-nn-3.6.0-3.5.0/DoxyGen/
Dnn.dxy.in1934 # Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
1935 # 14 inches) and executive (7.25 x 10.5 inches).
2318 …ATH_NEON=1 ARM_FLOAT16_SUPPORTED=1 __STATIC_FORCEINLINE=static __STATIC_INLINE=static __ALIGNED(x)=
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/
Dgenerate_test_data.py1446 out = tf.keras.layers.Lambda(function=lambda x: x)(layer)