We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7772b3 commit f0820cbCopy full SHA for f0820cb
1 file changed
src/index/scalar_quantizer.rs
@@ -257,18 +257,6 @@ where
257
faiss_IndexIVFScalarQuantizer_set_nprobe(self.inner_ptr(), value as usize);
258
}
259
260
-
261
- pub fn train_residual(&mut self, x: &[f32]) -> Result<()> {
262
- unsafe {
263
- let n = x.len() / self.d() as usize;
264
- faiss_try(faiss_IndexIVFScalarQuantizer_train_residual(
265
- self.inner_ptr(),
266
- n as i64,
267
- x.as_ptr(),
268
- ))?;
269
- Ok(())
270
- }
271
272
273
274
impl<Q> NativeIndex for IVFScalarQuantizerIndexImpl<Q> {
0 commit comments