Searched refs:padded_num (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.7.0/samples/modules/tflite-micro/magic_wand/train/ |
D | data_load.py | 81 def format_support_func(self, padded_num, length, data, label): argument 84 length *= padded_num 90 for num in range(padded_num): 91 features[padded_num * idx + num] = padded_data[num] 92 labels[padded_num * idx + num] = self.label2id[label] 100 padded_num = 2 102 padded_num, self.train_len, self.train_data, self.train_label) 104 padded_num, self.valid_len, self.valid_data, self.valid_label) 106 padded_num, self.test_len, self.test_data, self.test_label)
|