Searched refs:tmp_data (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/ |
D | data_augmentation.py | 31 tmp_data = [[0 37 tmp_data[denominator * i + 40 return tmp_data 57 tmp_data = [[0 for i in range(len(data[0]))] for j in range(len(data))] 59 for i in range(len(tmp_data)): # pylint: disable=consider-using-enumerate 60 for j in range(len(tmp_data[i])): 61 tmp_data[i][j] = data[i][j] + 5 * random.random() 62 new_data.append(tmp_data)
|
D | data_load.py | 71 tmp_data = (np.random.rand(seq_length, dim) - 0.5) * noise_level + data[0] 72 tmp_data[(seq_length - 74 padded_data.append(tmp_data) 76 tmp_data = (np.random.rand(seq_length, dim) - 0.5) * noise_level + data[-1] 77 tmp_data[:min(len(data), seq_length)] = data[:min(len(data), seq_length)] 78 padded_data.append(tmp_data)
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/ |
D | main.c | 372 struct zcbor_string tmp_data = { 0 }; in ZTEST() local 378 ZCBOR_MAP_DECODE_KEY_DECODER("val", zcbor_bstr_decode, &tmp_data), in ZTEST() 497 zassert_equal(tmp_data.len, (loop_number == 0 ? sizeof(val_aa_valid_1) : in ZTEST() 500 zassert_mem_equal(tmp_data.value, val_aa_valid_1, tmp_data.len, in ZTEST() 537 struct zcbor_string tmp_data = { 0 }; in ZTEST() local 543 ZCBOR_MAP_DECODE_KEY_DECODER("val", zcbor_bstr_decode, &tmp_data), in ZTEST() 631 struct zcbor_string tmp_data = { 0 }; in ZTEST() local 636 ZCBOR_MAP_DECODE_KEY_DECODER("val", zcbor_bstr_decode, &tmp_data), in ZTEST() 754 zassert_equal(tmp_data.len, sizeof(val_bb_valid_1), "Expected data size mismatch"); in ZTEST() 755 zassert_not_equal(tmp_data.value[0], val_bb_valid_1, "Read data mismatch"); in ZTEST() [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | att.c | 2301 struct bt_attr_data *tmp_data = net_buf_user_data(entry); in exec_write_reassemble() local 2303 LOG_DBG("entry %p handle 0x%04x, offset %u", entry, tmp_data->handle, in exec_write_reassemble() 2304 tmp_data->offset); in exec_write_reassemble() 2306 if (tmp_data->handle == handle) { in exec_write_reassemble() 2307 if (tmp_data->offset == 0) { in exec_write_reassemble() 2319 if (tmp_data->offset != buf->len + offset) { in exec_write_reassemble() 2324 LOG_DBG("Bad offset %u (%u, %u)", tmp_data->offset, buf->len, in exec_write_reassemble()
|