Lines Matching full:length
20 const uint32_t *input1, int ref_index, size_t length) in test_arm_max_f32() argument
26 arm_max_f32((float32_t *)input1, length, &val, &index); in test_arm_max_f32()
41 const uint32_t *input1, int ref_index, size_t length) in test_arm_max_no_idx_f32() argument
46 arm_max_no_idx_f32((float32_t *)input1, length, &val); in test_arm_max_no_idx_f32()
58 const uint32_t *input1, int ref_index, size_t length) in test_arm_min_f32() argument
64 arm_min_f32((float32_t *)input1, length, &val, &index); in test_arm_min_f32()
79 const uint32_t *input1, int ref_index, size_t length) in test_arm_absmax_f32() argument
85 arm_absmax_f32((float32_t *)input1, length, &val, &index); in test_arm_absmax_f32()
100 const uint32_t *input1, int ref_index, size_t length) in test_arm_absmin_f32() argument
106 arm_absmin_f32((float32_t *)input1, length, &val, &index); in test_arm_absmin_f32()
121 const uint32_t *input1, int ref_index, size_t length) in test_arm_mean_f32() argument
134 arm_mean_f32((float32_t *)input1, length, &output[0]); in test_arm_mean_f32()
154 const uint32_t *input1, int ref_index, size_t length) in test_arm_power_f32() argument
167 arm_power_f32((float32_t *)input1, length, &output[0]); in test_arm_power_f32()
187 const uint32_t *input1, int ref_index, size_t length) in test_arm_rms_f32() argument
200 arm_rms_f32((float32_t *)input1, length, &output[0]); in test_arm_rms_f32()
220 const uint32_t *input1, int ref_index, size_t length) in test_arm_std_f32() argument
233 arm_std_f32((float32_t *)input1, length, &output[0]); in test_arm_std_f32()
253 const uint32_t *input1, int ref_index, size_t length) in test_arm_var_f32() argument
266 arm_var_f32((float32_t *)input1, length, &output[0]); in test_arm_var_f32()
288 size_t length = in_entropy_dim[0]; in ZTEST() local
293 __ASSERT_NO_MSG(ARRAY_SIZE(in_entropy_dim) > length); in ZTEST()
294 __ASSERT_NO_MSG(ARRAY_SIZE(ref_entropy) >= length); in ZTEST()
297 output = malloc(length * sizeof(float32_t)); in ZTEST()
301 for (index = 0; index < length; index++) { in ZTEST()
309 test_snr_error_f32(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
313 test_near_equal_f32(length, ref, output, REL_ERROR_THRESH), in ZTEST()
323 size_t length = in_logsumexp_dim[0]; in ZTEST() local
328 __ASSERT_NO_MSG(ARRAY_SIZE(in_logsumexp_dim) > length); in ZTEST()
329 __ASSERT_NO_MSG(ARRAY_SIZE(ref_logsumexp) >= length); in ZTEST()
332 output = malloc(length * sizeof(float32_t)); in ZTEST()
336 for (index = 0; index < length; index++) { in ZTEST()
344 test_snr_error_f32(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
348 test_near_equal_f32(length, ref, output, REL_ERROR_THRESH), in ZTEST()
358 size_t length = in_kl_dim[0]; in ZTEST() local
364 __ASSERT_NO_MSG(ARRAY_SIZE(in_kl_dim) > length); in ZTEST()
365 __ASSERT_NO_MSG(ARRAY_SIZE(ref_kl) >= length); in ZTEST()
368 output = malloc(length * sizeof(float32_t)); in ZTEST()
372 for (index = 0; index < length; index++) { in ZTEST()
383 test_snr_error_f32(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
387 test_near_equal_f32(length, ref, output, REL_ERROR_THRESH), in ZTEST()
397 size_t length = in_logsumexp_dp_dim[0]; in ZTEST() local
404 __ASSERT_NO_MSG(ARRAY_SIZE(in_logsumexp_dp_dim) > length); in ZTEST()
405 __ASSERT_NO_MSG(ARRAY_SIZE(ref_logsumexp_dp) >= length); in ZTEST()
408 output = malloc(length * sizeof(float32_t)); in ZTEST()
415 for (index = 0; index < length; index++) { in ZTEST()
427 test_snr_error_f32(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
431 test_near_equal_f32(length, ref, output, REL_ERROR_THRESH), in ZTEST()