@@ -145,7 +145,7 @@ DEFINE_TEST_VARIANT3(support_f32, arm_float_to_q7, 15, in_f32, ref_q7, 15);
145145DEFINE_TEST_VARIANT3 (support_f32 , arm_float_to_q7 , 32 , in_f32 , ref_q7 , 32 );
146146DEFINE_TEST_VARIANT3 (support_f32 , arm_float_to_q7 , 33 , in_f32 , ref_q7 , 33 );
147147
148- static void test_arm_weighted_sum_f32 (
148+ static void test_arm_weighted_average_f32 (
149149 int ref_offset , size_t length )
150150{
151151 const float32_t * val = (const float32_t * )in_weighted_sum_val ;
@@ -158,7 +158,7 @@ static void test_arm_weighted_sum_f32(
158158 zassert_not_null (output , ASSERT_MSG_BUFFER_ALLOC_FAILED );
159159
160160 /* Run test function */
161- output [0 ] = arm_weighted_sum_f32 (val , coeff , length );
161+ output [0 ] = arm_weighted_average_f32 (val , coeff , length );
162162
163163 /* Validate output */
164164 zassert_true (
@@ -170,9 +170,9 @@ static void test_arm_weighted_sum_f32(
170170 free (output );
171171}
172172
173- DEFINE_TEST_VARIANT2 (support_f32 , arm_weighted_sum_f32 , 3 , 0 , 3 );
174- DEFINE_TEST_VARIANT2 (support_f32 , arm_weighted_sum_f32 , 8 , 1 , 8 );
175- DEFINE_TEST_VARIANT2 (support_f32 , arm_weighted_sum_f32 , 11 , 2 , 11 );
173+ DEFINE_TEST_VARIANT2 (support_f32 , arm_weighted_average_f32 , 3 , 0 , 3 );
174+ DEFINE_TEST_VARIANT2 (support_f32 , arm_weighted_average_f32 , 8 , 1 , 8 );
175+ DEFINE_TEST_VARIANT2 (support_f32 , arm_weighted_average_f32 , 11 , 2 , 11 );
176176
177177static void test_arm_sort_out (
178178 const uint32_t * input1 , const uint32_t * ref , size_t length ,
0 commit comments