Struct lance_index::vector::pq::transform::PQTransformer
source · pub struct PQTransformer { /* private fields */ }Expand description
Product Quantizer Transformer
It transforms a column of vectors into a column of PQ codes.
Implementations§
source§impl PQTransformer
impl PQTransformer
Trait Implementations§
source§impl Debug for PQTransformer
impl Debug for PQTransformer
source§impl Transformer for PQTransformer
impl Transformer for PQTransformer
source§fn transform<'life0, 'life1, 'async_trait>(
&'life0 self,
batch: &'life1 RecordBatch
) -> Pin<Box<dyn Future<Output = Result<RecordBatch>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn transform<'life0, 'life1, 'async_trait>(
&'life0 self,
batch: &'life1 RecordBatch
) -> Pin<Box<dyn Future<Output = Result<RecordBatch>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Transform a
RecordBatch of vectorsAuto Trait Implementations§
impl !RefUnwindSafe for PQTransformer
impl Send for PQTransformer
impl Sync for PQTransformer
impl Unpin for PQTransformer
impl !UnwindSafe for PQTransformer
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