(self, data: Sequence)
| 1113 | super().set_data(data) |
| 1114 | |
| 1115 | def randomize(self, data: Sequence) -> None: |
| 1116 | try: |
| 1117 | self.R.shuffle(data) |
| 1118 | except TypeError as e: |
| 1119 | warnings.warn(f"input data can't be shuffled in SmartCacheDataset with numpy.random.shuffle(): {e}.") |
| 1120 | |
| 1121 | def _compute_data_idx(self) -> None: |
| 1122 | """ |