(self, vector, topn)
| 548 | return self |
| 549 | |
| 550 | def query(self, vector, topn): |
| 551 | indices, dist = self.index_.knnQuery(vector, k=topn) |
| 552 | return indices, dist |
| 553 | |
| 554 | @torch.no_grad() |
| 555 | def extract_features(model, device, wsi, filtered_tiles, workers, out_size, batch_size, n_last_blocks, avgpool_patchtokens, depths): |
nothing calls this directly
no outgoing calls
no test coverage detected