pub struct DistillOptions {
pub lo: f32,
pub hi: f32,
pub min_cluster_size: usize,
}Expand description
Options for run_distill.
Fields§
§lo: f32Lower cosine bound (inclusive) of the loose-cluster band.
hi: f32Upper cosine bound (inclusive) of the loose-cluster band.
min_cluster_size: usizeMinimum cluster size to distil.
Trait Implementations§
Source§impl Clone for DistillOptions
impl Clone for DistillOptions
Source§fn clone(&self) -> DistillOptions
fn clone(&self) -> DistillOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DistillOptions
impl Debug for DistillOptions
Auto Trait Implementations§
impl Freeze for DistillOptions
impl RefUnwindSafe for DistillOptions
impl Send for DistillOptions
impl Sync for DistillOptions
impl Unpin for DistillOptions
impl UnsafeUnpin for DistillOptions
impl UnwindSafe for DistillOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more