Lines Matching full:output
44 /* Validate output */ in test_arm_max_f16()
64 /* Validate output */ in test_arm_max_no_idx_f16()
82 /* Validate output */ in test_arm_min_f16()
103 /* Validate output */ in test_arm_absmax_f16()
124 /* Validate output */ in test_arm_absmin_f16()
140 float16_t *output; in test_arm_mean_f16() local
145 /* Allocate output buffer */ in test_arm_mean_f16()
146 output = malloc(1 * sizeof(float16_t)); in test_arm_mean_f16()
147 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_mean_f16()
150 arm_mean_f16((float16_t *)input1, length, &output[0]); in test_arm_mean_f16()
152 /* Validate output */ in test_arm_mean_f16()
154 test_snr_error_f16(1, output, ref, SNR_ERROR_THRESH), in test_arm_mean_f16()
158 test_rel_error_f16(1, output, ref, REL_ERROR_THRESH), in test_arm_mean_f16()
161 /* Free output buffer */ in test_arm_mean_f16()
162 free(output); in test_arm_mean_f16()
173 float16_t *output; in test_arm_power_f16() local
178 /* Allocate output buffer */ in test_arm_power_f16()
179 output = malloc(1 * sizeof(float16_t)); in test_arm_power_f16()
180 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_power_f16()
183 arm_power_f16((float16_t *)input1, length, &output[0]); in test_arm_power_f16()
185 /* Validate output */ in test_arm_power_f16()
187 test_snr_error_f16(1, output, ref, SNR_ERROR_THRESH), in test_arm_power_f16()
191 test_rel_error_f16(1, output, ref, REL_ERROR_THRESH), in test_arm_power_f16()
194 /* Free output buffer */ in test_arm_power_f16()
195 free(output); in test_arm_power_f16()
206 float16_t *output; in test_arm_rms_f16() local
211 /* Allocate output buffer */ in test_arm_rms_f16()
212 output = malloc(1 * sizeof(float16_t)); in test_arm_rms_f16()
213 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_rms_f16()
216 arm_rms_f16((float16_t *)input1, length, &output[0]); in test_arm_rms_f16()
218 /* Validate output */ in test_arm_rms_f16()
220 test_snr_error_f16(1, output, ref, SNR_ERROR_THRESH), in test_arm_rms_f16()
224 test_rel_error_f16(1, output, ref, REL_ERROR_THRESH), in test_arm_rms_f16()
227 /* Free output buffer */ in test_arm_rms_f16()
228 free(output); in test_arm_rms_f16()
239 float16_t *output; in test_arm_std_f16() local
244 /* Allocate output buffer */ in test_arm_std_f16()
245 output = malloc(1 * sizeof(float16_t)); in test_arm_std_f16()
246 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_std_f16()
249 arm_std_f16((float16_t *)input1, length, &output[0]); in test_arm_std_f16()
251 /* Validate output */ in test_arm_std_f16()
253 test_snr_error_f16(1, output, ref, SNR_ERROR_THRESH), in test_arm_std_f16()
257 test_rel_error_f16(1, output, ref, REL_ERROR_THRESH), in test_arm_std_f16()
260 /* Free output buffer */ in test_arm_std_f16()
261 free(output); in test_arm_std_f16()
272 float16_t *output; in test_arm_var_f16() local
277 /* Allocate output buffer */ in test_arm_var_f16()
278 output = malloc(1 * sizeof(float16_t)); in test_arm_var_f16()
279 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_var_f16()
282 arm_var_f16((float16_t *)input1, length, &output[0]); in test_arm_var_f16()
284 /* Validate output */ in test_arm_var_f16()
286 test_snr_error_f16(1, output, ref, SNR_ERROR_THRESH), in test_arm_var_f16()
290 test_rel_error_f16(1, output, ref, REL_ERROR_THRESH), in test_arm_var_f16()
293 /* Free output buffer */ in test_arm_var_f16()
294 free(output); in test_arm_var_f16()
307 float16_t *output; in ZTEST() local
312 /* Allocate output buffer */ in ZTEST()
313 output = malloc(length * sizeof(float16_t)); in ZTEST()
314 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
318 output[index] = in ZTEST()
323 /* Validate output */ 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()
332 /* Free output buffer */ in ZTEST()
333 free(output); in ZTEST()
342 float16_t *output; in ZTEST() local
347 /* Allocate output buffer */ in ZTEST()
348 output = malloc(length * sizeof(float16_t)); in ZTEST()
349 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
353 output[index] = in ZTEST()
358 /* Validate output */ 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()
367 /* Free output buffer */ in ZTEST()
368 free(output); in ZTEST()
378 float16_t *output; in ZTEST() local
383 /* Allocate output buffer */ in ZTEST()
384 output = malloc(length * sizeof(float16_t)); in ZTEST()
385 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
389 output[index] = in ZTEST()
397 /* Validate output */ 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()
407 /* Free output buffer */ in ZTEST()
408 free(output); in ZTEST()
418 float16_t *output; in ZTEST() local
425 output = malloc(length * sizeof(float16_t)); in ZTEST()
426 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
433 output[index] = in ZTEST()
442 /* Validate output */ 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()
452 free(output); in ZTEST()