(&mut self, vectors: &[&[f32]])
| 28 | } |
| 29 | |
| 30 | fn train(&mut self, vectors: &[&[f32]]) -> Result<(), QuantizationError> { |
| 31 | // TODO: Implement k-means clustering for product quantization |
| 32 | // This is where you'd compute and store the centroids |
| 33 | unimplemented!("K-means clustering for product quantization is not implemented yet"); |
| 34 | } |
| 35 | } |
nothing calls this directly
no outgoing calls
no test coverage detected