class_docstr: The original dataset is available at: http://corpus-texmex.irisa.fr/
  (ANN_SIFT1B)
class_docstr_tok: ["The","original","dataset","is","available","at",":","http",":","\/\/corpus-texmex.irisa.fr\/","(","ANN_SIFT1B",")"]
code: def database_iterator(self, bs=128, split=(1, 0)):
      xb = bvecs_mmap(self.basedir + "bigann_base.bvecs")
      nsplit, rank = split
      i0, i1 = self.nb * rank // nsplit, self.nb * (rank + 1) // nsplit
      for j0 in range(i0, i1, bs):
          yield sanitize(xb[j0 : min(j0 + bs, i1)])
  
imports: import os
  import numpy
  import faiss
  from .vecs_io import fvecs_read, ivecs_read, bvecs_mmap, fvecs_mmap
  from .exhaustive_search import knn
label_desc: Use image node_id 6 for calling the DatasetBigANN obj's underlying member method code with example usage: obj.database_iterator(bs, split) without return types