(self)
| 265 | } |
| 266 | |
| 267 | def get_inputs(self): |
| 268 | inputs = [] |
| 269 | for i in tqdm(range(len(self.data))): |
| 270 | inputs.append(self.pre(i)) |
| 271 | self.inputs = inputs |
| 272 | |
| 273 | def get_inputs_list(self): |
| 274 | return self.inputs if hasattr(self, 'inputs') else [self.pre(i) for i in range(len(self))] |