Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/samples/modules/tflite-micro/magic_wand/train/
Ddata_augmentation_test.py35 original_data = np.random.rand(10, 3).tolist()
36 wrapped_data = time_wrapping(4, 5, original_data)
37 self.assertEqual(len(wrapped_data), int(len(original_data) / 4 - 1) * 5)
38 self.assertEqual(len(wrapped_data[0]), len(original_data[0]))
41 original_data = [
47 augmented_data, augmented_label = augment_data(original_data,
49 self.assertEqual(25 * len(original_data), len(augmented_data))
Ddata_augmentation.py43 def augment_data(original_data, original_label): argument
47 …for idx, (data, label) in enumerate(zip(original_data, original_label)): # pylint: disable=unus…