Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/samples/modules/tflite-micro/magic_wand/train/
Ddata_prepare.py38 DATA_NAME = "accel_ms2_xyz" variable
53 data_new[DATA_NAME] = []
57 if line[2] == "-" and data_new[DATA_NAME]:
61 data_new[DATA_NAME] = []
64 data_new[DATA_NAME].append([float(i) for i in line[0:3]])
71 data_new[DATA_NAME] = []
75 if len(data_new[DATA_NAME]) == 120:
79 data_new[DATA_NAME] = []
82 data_new[DATA_NAME].append([float(i) for i in line[0:3]])
91 dic = {DATA_NAME: [], LABEL_NAME: "negative", "name": "negative8"}
[all …]
Ddata_load.py32 DATA_NAME = "accel_ms2_xyz" variable
58 data.append(dic[DATA_NAME])