Home
last modified time | relevance | path

Searched refs:valid_data (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.6.0/samples/modules/tflite-micro/magic_wand/train/
Ddata_split_person.py46 valid_data = []
52 valid_data.append(data)
56 print("valid_length:" + str(len(valid_data)))
58 return train_data, valid_data, test_data
69 train_data, valid_data, test_data = person_split(data, train_names, variable
74 write_data(valid_data, "./person_split/valid")
Ddata_split_person_test.py40 train_data, valid_data, test_data = person_split(self.data, train_names,
43 self.assertEqual(len(valid_data), liucx_num)
46 self.assertIsInstance(valid_data, list)
49 self.assertIsInstance(valid_data[0], dict)
Ddata_split.py54 valid_data = []
76 valid_data.append(item)
82 return train_data, valid_data, test_data
87 train_data, valid_data, test_data = split_data(data, 0.6, 0.2) variable
89 write_data(valid_data, "./data/valid")
Dtrain.py97 data_loader.valid_data, data_loader.test_len, data_loader.test_data
116 valid_data, argument
131 valid_data = valid_data.map(reshape_function)
138 valid_data = valid_data.batch(batch_size)
143 validation_data=valid_data,
188 train_len, train_data, valid_len, valid_data, test_len, test_data = \ variable
192 train_len, train_data, valid_len, valid_data, test_len, test_data = \
199 train_net(model, model_path, train_len, train_data, valid_len, valid_data,
Ddata_load_test.py39 self.assertIsInstance(self.loader.valid_data, list)
45 self.assertEqual(self.loader.valid_len, len(self.loader.valid_data))
80 for feature, label in self.loader.valid_data:
90 self.assertIsInstance(self.loader.valid_data, tf.data.Dataset)
Ddata_load.py45 self.valid_data, self.valid_label, self.valid_len = self.get_data_file(
103 self.valid_len, self.valid_data = self.format_support_func(
104 padded_num, self.valid_len, self.valid_data, self.valid_label)
Dtrain_test.py37 self.train_len, self.train_data, self.valid_len, self.valid_data, \
44 self.assertIsInstance(self.valid_data, tf.data.Dataset)