Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/samples/modules/tflite-micro/magic_wand/train/
Ddata_augmentation_test.py46 original_label = ["data", "augmentation", "test"]
48original_label)
51 self.assertEqual(25 * len(original_label), len(augmented_label))
53 for i in range(len(original_label)): # pylint: disable=consider-using-enumerate
54 self.assertEqual(augmented_label[25 * i], original_label[i])
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…