diskann-quantization 0.51.0

DiskANN is a fast approximate nearest neighbor search library for high dimensional data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Copyright (c) Microsoft Corporation.
 * Licensed under the MIT license.
 */

use diskann_quantization::{poly, alloc::{Poly, GlobalAllocator}};

// Since arrays to not implement `Display`, this conversion is invalid.
fn main() {
    let x = Poly::new([1, 2], GlobalAllocator).unwrap();
    let _ = poly!(std::fmt::Display, x);
}