Enum faiss::metric::MetricType [−][src]
pub enum MetricType { InnerProduct, L2, }
Expand description
Enumerate type describing the type of metric assumed by an index.
Variants
Inner product, also called cosine distance
Euclidean L2-distance
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MetricType
impl Send for MetricType
impl Sync for MetricType
impl Unpin for MetricType
impl UnwindSafe for MetricType
Blanket Implementations
Mutably borrows from an owned value. Read more