(&mut self, vectors: &[&[f32]])
| 518 | } |
| 519 | |
| 520 | fn train(&mut self, vectors: &[&[f32]]) -> Result<(), QuantizationError> { |
| 521 | match self { |
| 522 | Self::Scalar => ScalarQuantization.train(vectors), |
| 523 | Self::Product(product) => product.train(vectors), |
| 524 | } |
| 525 | } |
| 526 | } |
| 527 | |
| 528 | // Implementing the std::fmt::Display trait for VectorId |
nothing calls this directly
no outgoing calls
no test coverage detected