Searched refs:pattern_count (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.5.0/tests/lib/cmsis_dsp/bayes/src/ |
D | f32.c | 25 const uint16_t pattern_count = in_dims[0]; in ZTEST() local 45 malloc(pattern_count * class_count * sizeof(float32_t)); in ZTEST() 49 malloc(pattern_count * sizeof(uint16_t)); in ZTEST() 55 temp = malloc(pattern_count * class_count * sizeof(float32_t)); in ZTEST() 59 for (index = 0; index < pattern_count; index++) { in ZTEST() 73 test_rel_error_f32(pattern_count, output_probs_buf, in ZTEST() 78 test_equal_q15(pattern_count, output_preds_buf, ref_pred), in ZTEST()
|
D | f16.c | 27 const uint16_t pattern_count = in_dims[0]; in ZTEST() local 47 malloc(pattern_count * class_count * sizeof(float16_t)); in ZTEST() 51 malloc(pattern_count * sizeof(uint16_t)); in ZTEST() 57 temp = malloc(pattern_count * class_count * sizeof(float16_t)); in ZTEST() 61 for (index = 0; index < pattern_count; index++) { in ZTEST() 75 test_rel_error_f16(pattern_count, output_probs_buf, in ZTEST() 80 test_equal_q15(pattern_count, output_preds_buf, ref_pred), in ZTEST()
|