Home
last modified time | relevance | path

Searched refs:dims (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/tests/lib/cmsis_dsp/support/src/
Dbarycenter_f16.c23 const uint16_t *dims = in_barycenter_dims + 1; in ZTEST() local
36 const uint16_t vec_count = dims[0]; in ZTEST()
37 const uint16_t vec_length = dims[1]; in ZTEST()
47 dims += 2; in ZTEST()
Dbarycenter_f32.c23 const uint16_t *dims = in_barycenter_dims + 1; in ZTEST() local
36 const uint16_t vec_count = dims[0]; in ZTEST()
37 const uint16_t vec_length = dims[1]; in ZTEST()
47 dims += 2; in ZTEST()
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/src/
Dmain_functions.cpp81 if ((model_input->dims->size != 4) || (model_input->dims->data[0] != 1) || in setup()
82 (model_input->dims->data[1] != 128) || in setup()
83 (model_input->dims->data[2] != kChannelNumber) || in setup()
/Zephyr-latest/tests/lib/cmsis_dsp/matrix/src/
Dunary_q15.c33 uint16_t *dims = (uint16_t *)in_dims; in test_op2() local
59 rows = *dims++; in test_op2()
60 columns = *dims++; in test_op2()
117 uint16_t *dims = (uint16_t *)in_dims; in test_op1() local
138 rows = *dims++; in test_op1()
139 columns = *dims++; in test_op1()
195 const uint16_t *dims = in_dims; in test_op2v() local
217 rows = *dims++; in test_op2v()
218 internal = *dims++; in test_op2v()
264 const uint16_t *dims = in_dims; in test_op1c() local
[all …]
Dunary_q31.c33 uint16_t *dims = (uint16_t *)in_dims; in test_op2() local
59 rows = *dims++; in test_op2()
60 columns = *dims++; in test_op2()
117 uint16_t *dims = (uint16_t *)in_dims; in test_op1() local
138 rows = *dims++; in test_op1()
139 columns = *dims++; in test_op1()
195 const uint16_t *dims = in_dims; in test_op2v() local
217 rows = *dims++; in test_op2v()
218 internal = *dims++; in test_op2v()
264 const uint16_t *dims = in_dims; in test_op1c() local
[all …]
Dbinary_f32.c30 uint16_t *dims = (uint16_t *)in_dims; in test_op2() local
56 rows = *dims++; in test_op2()
57 internal = *dims++; in test_op2()
58 columns = *dims++; in test_op2()
121 uint16_t *dims = (uint16_t *)in_dims; in test_op2c() local
147 rows = *dims++; in test_op2c()
148 internal = *dims++; in test_op2c()
149 columns = *dims++; in test_op2c()
Dbinary_f64.c30 uint16_t *dims = (uint16_t *)in_dims; in test_op2() local
56 rows = *dims++; in test_op2()
57 internal = *dims++; in test_op2()
58 columns = *dims++; in test_op2()
126 uint16_t *dims = (uint16_t *)in_dims;
152 rows = *dims++;
153 internal = *dims++;
154 columns = *dims++;
Dbinary_q31.c30 uint16_t *dims = (uint16_t *)in_dims; in test_op2() local
56 rows = *dims++; in test_op2()
57 internal = *dims++; in test_op2()
58 columns = *dims++; in test_op2()
119 uint16_t *dims = (uint16_t *)in_dims; in test_op2c() local
145 rows = *dims++; in test_op2c()
146 internal = *dims++; in test_op2c()
147 columns = *dims++; in test_op2c()
Dbinary_f16.c30 uint16_t *dims = (uint16_t *)in_dims; in test_op2() local
56 rows = *dims++; in test_op2()
57 internal = *dims++; in test_op2()
58 columns = *dims++; in test_op2()
121 uint16_t *dims = (uint16_t *)in_dims; in test_op2c() local
147 rows = *dims++; in test_op2c()
148 internal = *dims++; in test_op2c()
149 columns = *dims++; in test_op2c()
Dbinary_q15.c32 uint16_t *dims = (uint16_t *)in_dims; in test_op2() local
61 rows = *dims++; in test_op2()
62 internal = *dims++; in test_op2()
63 columns = *dims++; in test_op2()
127 uint16_t *dims = (uint16_t *)in_dims; in test_op2c() local
156 rows = *dims++; in test_op2c()
157 internal = *dims++; in test_op2c()
158 columns = *dims++; in test_op2c()
Dunary_q7.c29 uint16_t *dims = (uint16_t *)in_dims; in test_op1() local
50 rows = *dims++; in test_op1()
51 columns = *dims++; in test_op1()
100 const uint16_t *dims = in_dims; in test_op2v() local
122 rows = *dims++; in test_op2v()
123 internal = *dims++; in test_op2v()
Dunary_f16.c45 uint16_t *dims = (uint16_t *)in_dims; in test_op2() local
71 rows = *dims++; in test_op2()
72 columns = *dims++; in test_op2()
135 uint16_t *dims = (uint16_t *)in_dims; in test_op1() local
156 rows = *dims++; in test_op1()
157 columns = *dims++; in test_op1()
216 uint16_t *dims = (uint16_t *)in_inv_dims; in ZTEST() local
238 rows = columns = *dims++; in ZTEST()
278 const uint16_t *dims = in_dims; in test_op2v() local
300 rows = *dims++; in test_op2v()
[all …]
Dunary_f32.c41 uint16_t *dims = (uint16_t *)in_dims; in test_op2() local
67 rows = *dims++; in test_op2()
68 columns = *dims++; in test_op2()
131 uint16_t *dims = (uint16_t *)in_dims; in test_op1() local
152 rows = *dims++; in test_op1()
153 columns = *dims++; in test_op1()
212 uint16_t *dims = (uint16_t *)in_inv_dims; in ZTEST() local
234 rows = columns = *dims++; in ZTEST()
274 const uint16_t *dims = in_dims; in test_op2v() local
296 rows = *dims++; in test_op2v()
[all …]
Dunary_f64.c33 uint16_t *dims = (uint16_t *)in_dims; in test_op2() local
59 rows = *dims++; in test_op2()
60 columns = *dims++; in test_op2()
116 uint16_t *dims = (uint16_t *)in_dims; in test_op1() local
137 rows = *dims++; in test_op1()
138 columns = *dims++; in test_op1()
191 uint16_t *dims = (uint16_t *)in_inv_dims; in ZTEST() local
213 rows = columns = *dims++; in ZTEST()
254 const uint16_t *dims = in_cholesky_dpo_dims; in ZTEST() local
276 rows = columns = *dims++; in ZTEST()
[all …]
Dbinary_q7.c28 uint16_t *dims = (uint16_t *)in_dims; in test_op2() local
57 rows = *dims++; in test_op2()
58 internal = *dims++; in test_op2()
59 columns = *dims++; in test_op2()
/Zephyr-latest/tests/lib/cmsis_dsp/svm/src/
Df16.c17 const int16_t *dims = in_dims; \
19 const int32_t classes[2] = { dims[1], dims[2] }; \
20 const uint16_t sample_count = dims[3]; \
21 const uint16_t vec_dims = dims[4]; \
22 const uint16_t svec_count = dims[5]; \
29 const uint16_t degree = dims[6]; \
Df32.c17 const int16_t *dims = in_dims; \
19 const int32_t classes[2] = { dims[1], dims[2] }; \
20 const uint16_t sample_count = dims[3]; \
21 const uint16_t vec_dims = dims[4]; \
22 const uint16_t svec_count = dims[5]; \
29 const uint16_t degree = dims[6]; \
/Zephyr-latest/tests/lib/cmsis_dsp/distance/src/
Du32.c18 #define DIMS_IN (dims[0])
19 #define DIMS_VEC (dims[1])
20 #define DIMS_BIT_VEC (dims[2])
34 static void test_arm_distance(int op, const uint16_t *dims, in test_arm_distance() argument
Df32.c18 #define DIMS_IN (dims[0])
19 #define DIMS_VEC (dims[1])
33 static void test_arm_distance_f32(int op, bool scratchy, const uint16_t *dims, in test_arm_distance_f32() argument
160 const uint16_t *dims = in_dims_minkowski + 2; in ZTEST() local
174 input1, input2, dims[index], dims_vec); in ZTEST()
Df16.c20 #define DIMS_IN (dims[0])
21 #define DIMS_VEC (dims[1])
35 static void test_arm_distance_f16(int op, bool scratchy, const uint16_t *dims, in test_arm_distance_f16() argument
174 const uint16_t *dims = in_dims_minkowski + 2; in ZTEST() local
188 input1, input2, dims[index], dims_vec); in ZTEST()