code: def __init__(
      self, vector_sz: int = 1, nprobe: int = 10, nlist: int = 100
  ):
      super(DenseIVFFlatIndexer, self).__init__()
      self.nprobe = nprobe
      self.nlist = nlist
      quantizer = faiss.IndexFlatL2(vector_sz)  # the other index
      self.index = faiss.IndexIVFFlat(
          quantizer, vector_sz, self.nlist, faiss.METRIC_INNER_PRODUCT
      )
      self.index.nprobe = nprobe
  
imports: import os
  import logging
  import pickle
  import faiss
  import numpy
label_desc: Use image node_id 1 to create a new DenseIVFFlatIndexer object from inherited base classes: DenseIndexer with example: obj = DenseIVFFlatIndexer(vector_sz, nprobe, nlist)