Searched refs:train_data (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/ |
D | data_split_person.py | 45 train_data = [] 50 train_data.append(data) 55 print("train_length:" + str(len(train_data))) 58 return train_data, valid_data, test_data 69 train_data, valid_data, test_data = person_split(data, train_names, variable 73 write_data(train_data, "./person_split/train")
|
D | data_split.py | 53 train_data = [] 73 train_data.append(item) 80 print("train_length:" + str(len(train_data))) 82 return train_data, valid_data, test_data 87 train_data, valid_data, test_data = split_data(data, 0.6, 0.2) variable 88 write_data(train_data, "./data/train")
|
D | data_split_person_test.py | 40 train_data, valid_data, test_data = person_split(self.data, train_names, 42 self.assertEqual(len(train_data), dengyl_num) 45 self.assertIsInstance(train_data, list) 48 self.assertIsInstance(train_data[0], dict)
|
D | train_test.py | 37 self.train_len, self.train_data, self.valid_len, self.valid_data, \ 43 self.assertIsInstance(self.train_data, tf.data.Dataset) 62 for data, label in self.train_data: 66 self.train_data = self.train_data.map(reshape_function) 67 for data, label in self.train_data:
|
D | train.py | 96 return data_loader.train_len, data_loader.train_data, data_loader.valid_len, \ 114 train_data, argument 129 train_data = train_data.map(reshape_function) 137 train_data = train_data.batch(batch_size).repeat() 141 train_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,
|
D | data_load_test.py | 37 self.assertIsInstance(self.loader.train_data, list) 43 self.assertEqual(self.loader.train_len, len(self.loader.train_data)) 77 for feature, label in self.loader.train_data: # pylint: disable=unused-variable 89 self.assertIsInstance(self.loader.train_data, tf.data.Dataset)
|
D | data_load.py | 43 self.train_data, self.train_label, self.train_len = self.get_data_file( 101 self.train_len, self.train_data = self.format_support_func( 102 padded_num, self.train_len, self.train_data, self.train_label)
|