Home
last modified time | relevance | path

Searched refs:class_count (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/tests/lib/cmsis_dsp/bayes/src/
Df32.c26 const uint16_t class_count = in_dims[1]; in ZTEST() local
37 inst.numberOfClasses = class_count; in ZTEST()
39 inst.sigma = params + (class_count * vec_dims); in ZTEST()
40 inst.classPriors = params + (2 * class_count * vec_dims); in ZTEST()
41 inst.epsilon = params[class_count + (2 * class_count * vec_dims)]; in ZTEST()
45 malloc(pattern_count * class_count * sizeof(float32_t)); in ZTEST()
55 temp = malloc(pattern_count * class_count * sizeof(float32_t)); in ZTEST()
67 output_probs += class_count; in ZTEST()
Df16.c28 const uint16_t class_count = in_dims[1]; in ZTEST() local
39 inst.numberOfClasses = class_count; in ZTEST()
41 inst.sigma = params + (class_count * vec_dims); in ZTEST()
42 inst.classPriors = params + (2 * class_count * vec_dims); in ZTEST()
43 inst.epsilon = params[class_count + (2 * class_count * vec_dims)]; in ZTEST()
47 malloc(pattern_count * class_count * sizeof(float16_t)); in ZTEST()
57 temp = malloc(pattern_count * class_count * sizeof(float16_t)); in ZTEST()
69 output_probs += class_count; in ZTEST()