code: def test_deterministic(self):
      ds = datasets.SyntheticDataset(d=16, nt=1000, nb=10005, nq=1000)
      index = faiss.index_factory(ds.d, "IVF100,LSQ4x4_Nqint8")
  
      k = 1
      xq = ds.get_queries()
      xb = ds.get_database()
      xt = ds.get_train()
  
      index.train(xt)
      index.add(xb)
      D, I = index.search(xq, k=k)
  
      index.reset()
      index.train(xt)
      index.add(xb)
      D2, I2 = index.search(xq, k=k)
  
      np.testing.assert_array_equal(I, I2)
  
imports: import numpy
  import faiss
  import unittest
  from faiss.contrib import datasets
label_desc: Use image node_id 6 for calling the TestIndexIVFLocalSearchQuantizer obj's underlying member method code with example usage: obj.test_deterministic() without return types