pub struct CodebookTrainer { /* private fields */ }Expand description
Codebook trainer using K-means clustering
Implementations§
Source§impl CodebookTrainer
impl CodebookTrainer
Sourcepub fn new(config: TrainingConfig) -> Self
pub fn new(config: TrainingConfig) -> Self
Create a new trainer
Auto Trait Implementations§
impl Freeze for CodebookTrainer
impl RefUnwindSafe for CodebookTrainer
impl Send for CodebookTrainer
impl Sync for CodebookTrainer
impl Unpin for CodebookTrainer
impl UnsafeUnpin for CodebookTrainer
impl UnwindSafe for CodebookTrainer
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