Lines Matching refs:output

41 	float16_t *output;
44 output = malloc(length * sizeof(float16_t));
45 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED);
49 output[index] = arm_cos_f16(((float16_t *)in_angles)[index]);
54 test_snr_error_f16(length, output, (float16_t *)ref_cos,
59 test_close_error_f16(length, output, (float16_t *)ref_cos,
64 free(output);
71 float16_t *output;
74 output = malloc(length * sizeof(float16_t));
75 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED);
79 output[index] = arm_sin_f16(((float16_t *)in_angles)[index]);
84 test_snr_error_f16(length, output, (float16_t *)ref_sin,
89 test_close_error_f16(length, output, (float16_t *)ref_sin,
94 free(output);
105 float16_t *output; in ZTEST() local
108 output = malloc(length * sizeof(float16_t)); in ZTEST()
109 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
114 ((float16_t *)in_sqrt)[index], &output[index]); in ZTEST()
129 test_snr_error_f16(length, output, (float16_t *)ref_sqrt, in ZTEST()
134 test_close_error_f16(length, output, (float16_t *)ref_sqrt, in ZTEST()
139 free(output); in ZTEST()
145 float16_t *output; in test_arm_vlog_f16() local
148 output = malloc(length * sizeof(float16_t)); in test_arm_vlog_f16()
149 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_vlog_f16()
152 arm_vlog_f16((float16_t *)input1, output, length); in test_arm_vlog_f16()
156 test_snr_error_f16(length, output, (float16_t *)ref, in test_arm_vlog_f16()
161 test_close_error_f16(length, output, (float16_t *)ref, in test_arm_vlog_f16()
166 free(output); in test_arm_vlog_f16()
177 float16_t *output; in test_arm_vexp_f16() local
180 output = malloc(length * sizeof(float16_t)); in test_arm_vexp_f16()
181 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_vexp_f16()
184 arm_vexp_f16((float16_t *)input1, output, length); in test_arm_vexp_f16()
188 test_snr_error_f16(length, output, (float16_t *)ref, in test_arm_vexp_f16()
193 test_close_error_f16(length, output, (float16_t *)ref, in test_arm_vexp_f16()
198 free(output); in test_arm_vexp_f16()
209 float16_t *output; in ZTEST() local
212 output = malloc(length * sizeof(float16_t)); in ZTEST()
213 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
216 arm_vinverse_f16((float16_t *)in_vinverse, output, length); in ZTEST()
220 test_snr_error_f16(length, output, (float16_t *)ref_vinverse, in ZTEST()
225 test_close_error_f16(length, output, (float16_t *)ref_vinverse, in ZTEST()
230 free(output); in ZTEST()