(n_points, d, b, h)
| 18 | |
| 19 | |
| 20 | def generate_hash(n_points, d, b, h): |
| 21 | torch.manual_seed(0) |
| 22 | x = torch.rand(n_points, d).cuda() |
| 23 | a = torch.randn(b, d + 1).cuda() |
| 24 | compute_hashes(x, a, h) |
| 25 | return h |
| 26 | |
| 27 | |
| 28 | def time_clustering(L, N, H, E, |
no test coverage detected