Load index for testing
(index: pyvsag.Index, file_path: str)
| 41 | |
| 42 | @staticmethod |
| 43 | def LoadIndex(index: pyvsag.Index, file_path: str): |
| 44 | """Load index for testing""" |
| 45 | index.load(file_path) |
| 46 | |
| 47 | @staticmethod |
| 48 | def CalRecall(results: np.ndarray, gt_ids: np.ndarray, topk: int = 10) -> float: |
no test coverage detected