Lines Matching full:length
36 const uint16_t *input1, int ref_index, size_t length) in test_arm_max_f16() argument
42 arm_max_f16((float16_t *)input1, length, &val, &index); in test_arm_max_f16()
57 const uint16_t *input1, int ref_index, size_t length) in test_arm_max_no_idx_f16() argument
62 arm_max_no_idx_f16((float16_t *)input1, length, &val); in test_arm_max_no_idx_f16()
74 const uint16_t *input1, int ref_index, size_t length) in test_arm_min_f16() argument
80 arm_min_f16((float16_t *)input1, length, &val, &index); in test_arm_min_f16()
95 const uint16_t *input1, int ref_index, size_t length) in test_arm_absmax_f16() argument
101 arm_absmax_f16((float16_t *)input1, length, &val, &index); in test_arm_absmax_f16()
116 const uint16_t *input1, int ref_index, size_t length) in test_arm_absmin_f16() argument
122 arm_absmin_f16((float16_t *)input1, length, &val, &index); in test_arm_absmin_f16()
137 const uint16_t *input1, int ref_index, size_t length) in test_arm_mean_f16() argument
150 arm_mean_f16((float16_t *)input1, length, &output[0]); in test_arm_mean_f16()
170 const uint16_t *input1, int ref_index, size_t length) in test_arm_power_f16() argument
183 arm_power_f16((float16_t *)input1, length, &output[0]); in test_arm_power_f16()
203 const uint16_t *input1, int ref_index, size_t length) in test_arm_rms_f16() argument
216 arm_rms_f16((float16_t *)input1, length, &output[0]); in test_arm_rms_f16()
236 const uint16_t *input1, int ref_index, size_t length) in test_arm_std_f16() argument
249 arm_std_f16((float16_t *)input1, length, &output[0]); in test_arm_std_f16()
269 const uint16_t *input1, int ref_index, size_t length) in test_arm_var_f16() argument
282 arm_var_f16((float16_t *)input1, length, &output[0]); in test_arm_var_f16()
304 size_t length = in_entropy_dim[0]; in ZTEST() local
309 __ASSERT_NO_MSG(ARRAY_SIZE(in_entropy_dim) > length); in ZTEST()
310 __ASSERT_NO_MSG(ARRAY_SIZE(ref_entropy) >= length); in ZTEST()
313 output = malloc(length * sizeof(float16_t)); in ZTEST()
317 for (index = 0; index < length; index++) { in ZTEST()
325 test_snr_error_f16(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
329 test_near_equal_f16(length, ref, output, REL_ERROR_THRESH), in ZTEST()
339 size_t length = in_logsumexp_dim[0]; in ZTEST() local
344 __ASSERT_NO_MSG(ARRAY_SIZE(in_logsumexp_dim) > length); in ZTEST()
345 __ASSERT_NO_MSG(ARRAY_SIZE(ref_logsumexp) >= length); in ZTEST()
348 output = malloc(length * sizeof(float16_t)); in ZTEST()
352 for (index = 0; index < length; index++) { in ZTEST()
360 test_snr_error_f16(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
364 test_near_equal_f16(length, ref, output, REL_ERROR_THRESH), in ZTEST()
374 size_t length = in_kl_dim[0]; in ZTEST() local
380 __ASSERT_NO_MSG(ARRAY_SIZE(in_kl_dim) > length); in ZTEST()
381 __ASSERT_NO_MSG(ARRAY_SIZE(ref_kl) >= length); in ZTEST()
384 output = malloc(length * sizeof(float16_t)); in ZTEST()
388 for (index = 0; index < length; index++) { in ZTEST()
399 test_snr_error_f16(length, ref, output, SNR_ERROR_THRESH_KB), in ZTEST()
403 test_close_error_f16(length, ref, output, in ZTEST()
414 size_t length = in_logsumexp_dp_dim[0]; in ZTEST() local
421 __ASSERT_NO_MSG(ARRAY_SIZE(in_logsumexp_dp_dim) > length); in ZTEST()
422 __ASSERT_NO_MSG(ARRAY_SIZE(ref_logsumexp_dp) >= length); in ZTEST()
425 output = malloc(length * sizeof(float16_t)); in ZTEST()
432 for (index = 0; index < length; index++) { in ZTEST()
444 test_snr_error_f16(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
448 test_near_equal_f16(length, ref, output, REL_ERROR_THRESH), in ZTEST()