(self)
| 635 | } |
| 636 | |
| 637 | def get_inputs(self): |
| 638 | inputs = [] |
| 639 | for i in tqdm(range(len(self.data))): |
| 640 | result = self.pre(i) |
| 641 | if result is not None: # Skip None results from deduplication |
| 642 | inputs.append(result) |
| 643 | self.inputs = inputs |
| 644 | |
| 645 | def get_inputs_list(self): |
| 646 | return self.inputs if hasattr(self, 'inputs') else [] |