(self, load_path)
| 163 | self.load(load_path) |
| 164 | |
| 165 | def load(self, load_path): |
| 166 | self.load_path = load_path |
| 167 | self.cache = np.load(load_path, allow_pickle=True) |
| 168 | self.data_len = self.cache['data_len'] |
| 169 | # self.data_strategy = self.cache['data_strategy'] |
| 170 | assert self.data_len == len(self.cache) - 2 # data_len, data_strategy |
| 171 | self.cache = None |
| 172 | |
| 173 | @classmethod |
| 174 | def save(cls, save_path, data_list, data_strategy): |
no outgoing calls
no test coverage detected