Home
last modified time | relevance | path

Searched refs:len (Results 1 – 10 of 10) sorted by relevance

/cmsis-nn-latest/Tests/UnitTest/Corstone-300/
Dretarget.c135 __attribute__((weak)) int _sys_write(FILEHANDLE fh, const uint8_t *buf, uint32_t len, int mode) in _sys_write() argument
138 (void)len; in _sys_write()
154 __attribute__((weak)) int _sys_read(FILEHANDLE fh, uint8_t *buf, uint32_t len, int mode) in _sys_read() argument
157 (void)len; in _sys_read()
163 return ((int)(len | 0x80000000U)); in _sys_read()
222 __attribute__((weak)) char *(_sys_command_string)(char *cmd, int len)
224 (void)len;
271 int _read(int fd, char *ptr, int len) in _read() argument
277 for (i = 0; i < len; i++) in _read()
285 return (len - i); in _read()
[all …]
/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/
Dtest_plan.py45 if (len(test_names) > 0) or (args.tests == []):
Dtest.py156 n_inputs = len(keras_model.inputs)
246 if len(values) < size / 2 or max(counts) > size / 2:
248 if size and len(data) > 500:
257 format_width = len(str(data.max())) + 1
261 for i in range(len(data) - 1):
266 if len(data) - 1 % data_shape[-1] == 0:
Dop_conv.py190 if len(scales["scaling_factors"]) != num_channels:
/cmsis-nn-latest/Tests/UnitTest/
Dmodel_extractor.py162 if len(input_shape) == 4:
163 if len(output_shape) == 2:
238 self.output_ch = len(scaling_factors)
286 if len(input_details) != 1:
Dunittest_targets.py237 if len(tests) == 0:
304 …print("{} Summary: {} tests in total passed on {} target(s) ({})".format(verdict, passed, len(targ…
323 if len(targets) == 0:
477 if re.search(r" run_test\(", line) and len(line.strip().split(',')) == 3:
Dtest_settings.py224 if len(qminmax) == 2:
239 if len(qminmax) == 2:
316 while len(self.generated_header_files) > 0:
371 size = len(array)
459 n_inputs = len(model.inputs)
Dfully_connected_settings.py208 uneven = len(weights) % 2
212 temp = np.reshape(weights, (len(weights) // 2, 2)).astype(np.uint8)
Dconv_settings.py151 if len(self.scaling_factors) != num_channels:
300 temp = np.reshape(weights, (len(weights) // 2, 2)).astype(np.uint8)
Dlstm_settings.py426 for i in range(len(self.lstm_scales)):
427 if len(self.lstm_scales[i]) == 0: